forked from maierbn/opendihu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (34 loc) · 988 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
39
40
41
language: cpp
script: scons
compiler: g++-5
services:
- docker
#addons:
# apt:
# sources:
# - ubuntu-toolchain-r-test
# packages:
# - g++-5
# - gfortran-5
sudo: required
#before_install:
# - sudo apt-get install tree
# - sudo apt-get install gcc-5
# - sudo apt-get install gfortran-5
# - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5 --slave /usr/bin/gfortran gfortran /usr/bin/gfortran-5
# - export CC=gcc-5
# - export CXX=g++-5
# - export FC=gfortran-5
# - sudo update-alternatives --config gcc
# - gcc --version
# - g++ --version
# - gfortran --version
# - docker pull maierbn/opendihu:latest
script:
- docker run maierbn/opendihu:latest bash -c "cd opendihu && git checkout develop && rm user-variables.scons.py && git pull origin develop && make travis_ci"
#after_failure:
# - tree -L 4 dependencies
# - cat config.log
#cache:
# directories:
# - dependencies