-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.travis.yml
More file actions
44 lines (37 loc) · 750 Bytes
/
.travis.yml
File metadata and controls
44 lines (37 loc) · 750 Bytes
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
sudo: required
dist: trusty
language: cpp
os:
- linux
compiler:
- gcc
- clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- george-edison55-cmake-3.x
packages:
- gcc-5
- g++-5
- clang
- cmake
- git
branches:
only:
- master
notifications:
email:
on_success: never # default: change
on_failure: always # default: always
script:
# Export CC and CXX to tell cmake which compiler to use
- if [ "$TRAVIS_OS_NAME" == "linux" ] && [ "$CXX" == "g++" ]; then
export CC="gcc-5";
export CXX="g++-5";
fi
- gcc --version
- g++ --version
- cmake --version
# Run your build commands next
- sh build_gcc_avx2.sh