-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
51 lines (42 loc) · 1.01 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
language: python
python:
- 2.7
sudo: false
cache:
apt: true
pip: true
directories:
- $HOME/.cache/pip
- $HOME/.local
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gfortran-4.9
- binutils
- python-pip
- graphviz
env:
before_install:
- git submodule update --init --recursive
install:
- |
if [[ ! -d "$HOME/.local/bin" ]]; then
mkdir "$HOME/.local/bin"
fi
- export PATH="$HOME/.local/bin:$PATH"
- export FC=/usr/bin/gfortran-4.9
- ln -fs /usr/bin/gfortran-4.9 "$HOME/.local/bin/gfortran" && gfortran --version
- ls -l /usr/bin/gfortran-4.9
- ln -fs /usr/bin/gcov-4.9 "$HOME/.local/bin/gcov" && gcov --version
- pip install --upgrade pygooglechart
- pip install --upgrade graphviz
- pip install --upgrade FoBiS.py
- pip install --upgrade markdown-checklist
- pip install --upgrade ford
script:
- $SCRIPT
after_success:
- cd $TRAVIS_BUILD_DIR
- cd build/lib/obj/ ; bash <(curl -s https://codecov.io/bash) ; cd -