-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
51 lines (47 loc) · 1.11 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
48
49
50
51
language: cpp
before_install:
- sudo apt-get update
- sudo apt-get install qt5-default qttools5-dev-tools
- sudo apt-get install -y libboost-all-dev
- DEPS_DIR="${TRAVIS_BUILD_DIR}/deps"
- mkdir ${DEPS_DIR} && cd ${DEPS_DIR}
- travis_retry wget --no-check-certificate https://cmake.org/files/v3.13/cmake-3.13.0-Linux-x86_64.tar.gz
- tar -xvf cmake-3.13.0-Linux-x86_64.tar.gz > /dev/null
- mv cmake-3.13.0-Linux-x86_64 cmake-install
- PATH=${DEPS_DIR}/cmake-install:${DEPS_DIR}/cmake-install/bin:$PATH
- cd ${TRAVIS_BUILD_DIR}
before_script:
- cmake --version
- qmake -v
- mkdir build
- cd build
- set -e
matrix:
exclude:
- os: linux
dist: bionic
name: Clang 7.0
compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-bionic-7
packages:
- libc++-7-dev
- libc++abi-7-dev
script:
- cmake ..
- make
- cd tests
- ctest
include:
- os: linux
dist: focal
name: GCC 9
compiler: gcc
script:
- cmake ..
- make
- cd tests
- ctest