forked from D3DEnergetic/FIDASIM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (40 loc) · 837 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
42
43
44
45
46
47
48
dist: trusty
language: python
python:
- 3.6
cache:
apt: true
pip: true
branches:
only:
- master
- release-1.0
- release-2.0
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- git
- gcc-5
- g++-5
- gfortran-5
- zlib1g-dev
- linkchecker
- python-pip
- graphviz
install:
- export FC=gfortran-5
- export CC=gcc-5
- export CXX=g++-5
- pip install --upgrade graphviz
- (pip install --upgrade ford && ford --version)
script:
- travis_wait 60 make
- ./fidasim
- make docs CHECK_LINKS=n
after_success:
- cd $TRAVIS_BUILD_DIR
- git config --global user.name "TRAVIS-CI-for-$(git --no-pager show -s --format='%cn' $TRAVIS_COMMIT)"
- git config --global user.email "$(git --no-pager show -s --format='%ce' $TRAVIS_COMMIT)"
- bash ./deploy.sh