-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
47 lines (41 loc) · 1.03 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
sudo: required
dist: trusty
language: generic
git:
submodules: true
script:
- sudo unlink /usr/bin/gcc && sudo ln -s /usr/bin/gcc-5 /usr/bin/gcc
- gcc --version
matrix:
include:
- os: linux
env: COMPILER_NAME=gcc CXX=g++-7 CC=gcc-7
addons:
apt:
packages:
- gcc-7
- g++-7
sources: &sources
- ubuntu-toolchain-r-test
env:
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-67
before_install:
- sudo add-apt-repository --yes ppa:beineri/opt-qt-5.10.1-trusty
- sudo apt-get update -qq
- eval "${MATRIX_EVAL}"
install:
- sudo apt-get -y install qt510[QTPACKAGE]
- sudo apt-get install -qq g++-7 libgl1-mesa-dev
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 90
notifications:
email:
on_success: never
on_failure: always
script:
- source /opt/qt510/bin/qt510-env.sh
- cd $TRAVIS_BUILD_DIR
- cd 3rd-party/src
- ./build_cutelogger.sh
- cd $TRAVIS_BUILD_DIR/src
- /opt/qt510/bin/qmake src.pro
- make