-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
55 lines (54 loc) · 1.28 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
52
53
54
55
language: cpp
matrix:
include:
- os: linux
dist: xenial
name: Code style check
install:
- sudo apt-get install python-pip
- sudo pip install --upgrade pip
- sudo pip install setuptools cpplint
script:
- cpplint --recursive include src app
- os: linux
dist: xenial
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-9
- qt5-default
install:
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 100 --slave /usr/bin/g++ g++ /usr/bin/g++-9
script:
- mkdir build
- cd build
- cmake ..
- cmake --build . -- -j
- os: linux
dist: xenial
compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- qt5-default
script:
- mkdir build
- cd build
- cmake ..
- cmake --build . -- -j
- os: osx
osx_image: xcode10.2
addons:
homebrew:
packages:
- qt
script:
- mkdir build
- cd build
- cmake .. -DCMAKE_PREFIX_PATH=$(brew --prefix qt)/lib/cmake/Qt5
- cmake --build . -- -j