Skip to content

Commit 9a8b3cb

Browse files
FirstLoveLifesolodon4
authored andcommitted
fix Travis CI and add more cases (#83)
* fix Travis CI and add more cases * try to fix include error for Parallel
1 parent c46e42c commit 9a8b3cb

File tree

1 file changed

+75
-7
lines changed

1 file changed

+75
-7
lines changed

.travis.yml

+75-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,68 @@
11
language: cpp
2-
os:
3-
- linux
4-
- osx
5-
compiler:
6-
- g++
7-
- clang++
2+
branches:
3+
only:
4+
- gh-pages
5+
- /.*/
6+
7+
matrix:
8+
include:
9+
10+
# Linux clang
11+
- os: linux
12+
sudo: required
13+
env: BUILD_TYPE=Debug SANITIZE=undefined CMAKE_GENERATOR="Unix Makefiles"
14+
compiler: clang
15+
16+
- os: linux
17+
sudo: required
18+
env: BUILD_TYPE=Debug SANITIZE=address CMAKE_GENERATOR="Unix Makefiles"
19+
compiler: clang
20+
21+
- os: linux
22+
sudo: required
23+
env: BUILD_TYPE=Release CMAKE_GENERATOR="Unix Makefiles"
24+
compiler: clang
25+
26+
# Linux gcc
27+
- os: linux
28+
sudo: false
29+
env: BUILD_TYPE=Debug SANITIZE=undefined CMAKE_GENERATOR="Unix Makefiles"
30+
compiler: gcc
31+
32+
- os: linux
33+
sudo: required
34+
env: BUILD_TYPE=Debug SANITIZE=address CMAKE_GENERATOR="Unix Makefiles"
35+
compiler: gcc
36+
37+
- os: linux
38+
sudo: false
39+
env: BUILD_TYPE=Release CMAKE_GENERATOR="Unix Makefiles"
40+
compiler: gcc
41+
42+
# OSX clang
43+
- os: osx
44+
osx_image: xcode10
45+
env: BUILD_TYPE=Debug CMAKE_GENERATOR="Xcode"
46+
compiler: clang
47+
48+
- os: osx
49+
osx_image: xcode10
50+
env: BUILD_TYPE=Release CMAKE_GENERATOR="Xcode"
51+
compiler: clang
52+
53+
# OSX gcc
54+
- os: osx
55+
osx_image: xcode10
56+
env: BUILD_TYPE=Release CMAKE_GENERATOR="Xcode"
57+
compiler: gcc
58+
59+
- os: osx
60+
osx_image: xcode10
61+
env: BUILD_TYPE=Debug CMAKE_GENERATOR="Xcode"
62+
compiler: gcc
63+
64+
65+
866
sudo: required
967
env:
1068
global:
@@ -43,9 +101,19 @@ before_script:
43101
- which g++
44102
- g++ --version
45103
- $CXX --version
46-
script: make --keep-going
104+
- sudo pip install --upgrade pip
105+
- sudo pip install --upgrade cmake
106+
- cmake --version
107+
- sudo cmake --version
108+
109+
script:
110+
- make --keep-going
111+
- cd ..
112+
- cmake -H. -Bbuild
113+
- sudo cmake --build build --target install -j 100
47114
notifications:
48115
email:
49116
recipients: [email protected]
50117
on_success: change
51118
on_failure: always
119+

0 commit comments

Comments
 (0)