forked from mattbierner/Template-Assembly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (30 loc) · 751 Bytes
/
.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
language: cpp
sudo: required
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- gcc-5
os:
- linux
compiler:
- gcc
install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-5" CC="gcc-5"; fi
- if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.7" CC="clang-3.7"; fi
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
wget --no-check-certificate https://cmake.org/files/v3.3/cmake-3.3.0-Linux-x86_64.tar.gz
&& tar -xzf cmake-3.3.0-Linux-x86_64.tar.gz
&& sudo cp -fR cmake-3.3.0-Linux-x86_64/* /usr
; fi
before_script:
- mkdir build
- cd build
- cmake ..
script:
- make
- ./tester
notifications:
email: false