-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
68 lines (58 loc) · 1.37 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
56
57
58
59
60
61
62
63
64
65
66
67
68
language: c
cache:
apt: true
os:
- linux
- osx
env:
- TEST_SUITE=short
- TEST_SUITE=cx
- TEST_SUITE=long
- TEST_SUITE=relativistic
- TEST_SUITE=geminal
osx_image: xcode10.2
# Could add more toolchains in future
# with something like:
#
# sources:
# - ubuntu-toolchain-r-test
# packages:
# - gfortran-6.1
#
# or similar
addons:
apt:
sources:
- george-edison55-precise-backports
- ubuntu-toolchain-r-test
packages:
- perl
- cmake
- cmake-data
- gfortran
- gcc-6
- python3
- gfortran-6
- liblapack-dev
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gcc; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew upgrade python; fi
- export FC=gfortran-6
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export FC=gfortran; fi
# We are only really interested in the short tests for now
script:
- mkdir build && cd build
- cmake --version
- cmake ..
- cmake --build . -- -j2
- ctest -L $TEST_SUITE -j2
after_script:
- cat Testing/Temporary/LastTest.log
- cat Testing/Temporary/stdout
matrix:
fast_finish: true
allow_failures:
notifications:
email: false
slack: quantum-crystals:c4wMeP4do0xwgnNyHuGefmQH