Skip to content

Commit d860cd2

Browse files
committed
Fix linux travis CI
1 parent da2cf81 commit d860cd2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ matrix:
66
dist: xenial
77
sudo: false
88
compiler: clang
9-
env: CXX=clang++-7 CC=clang-7 QT=511
9+
env: CXX=clang++-7 CC=clang-7 QT=512
1010
addons:
1111
apt:
1212
sources:
@@ -18,7 +18,7 @@ matrix:
1818
dist: xenial
1919
sudo: false
2020
compiler: gcc
21-
env: CXX=g++-7 CC=gcc-7 QT=511
21+
env: CXX=g++-7 CC=gcc-7 QT=512
2222
addons:
2323
apt:
2424
sources:
@@ -39,9 +39,9 @@ before_install:
3939
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install qt; fi
4040
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq ; fi
4141
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install build-essential libgl1-mesa-dev ; fi
42-
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -yqq install qt511base; source /opt/qt511/bin/qt511-env.sh; fi
43-
- if [[ "$QT" == "511" ]]; then sudo add-apt-repository ppa:beineri/opt-qt-5.11.2-xenial -y; fi
44-
- if [[ "$QT" == "511" ]]; then sudo apt-get update -qq; fi
42+
- if [[ "$QT" == "512" ]]; then sudo add-apt-repository ppa:beineri/opt-qt-5.12.1-xenial -y; fi
43+
- if [[ "$QT" == "512" ]]; then sudo apt-get update -qq; fi
44+
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -yqq install qt512base; source /opt/qt511/bin/qt512-env.sh; fi
4545

4646
script:
4747
- mkdir build

0 commit comments

Comments
 (0)