forked from thfabian/molec
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
50 lines (40 loc) · 719 Bytes
/
.travis.yml
File metadata and controls
50 lines (40 loc) · 719 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
45
46
47
48
49
branches:
only:
- master
install:
- if [ "$CC" = "gcc" ]; then export CC="gcc-4.9"; fi
- if [ "$CC" = "clang" ] && [ "$TRAVIS_OS_NAME" = "linux" ]; then export CC="clang-3.7"; fi
- echo ${PATH}
- echo ${CC}
- ${CC} --version
- ${CC} -v
addons:
apt:
sources:
- ubuntu-toolchain-r-test
#- llvm-toolchain-precise-3.7
packages:
- gcc-4.9
#- clang-3.7
- cmake
os:
- linux
# - osx
language: c
compiler:
# - clang
- gcc
before_script:
- mkdir build
- cd build
- cmake ../
- make
script:
- ./molecTest
notifications:
email:
recipients:
- thfabian@student.ethz.ch
on_success: never
on_failure: always
sudo: false