-
Notifications
You must be signed in to change notification settings - Fork 14
/
.travis.yml
52 lines (44 loc) · 1.14 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
language: generic
sudo: false
cache:
apt: true
pip: true
directories:
- $HOME/.cache/pip
- $HOME/.local
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gfortran-9
- binutils
- python-pip
- graphviz
env:
global:
- MAKECOVERAGE="FoBiS.py rule -ex makecoverage"
- MAKEDOC="./makedoc.sh Fortran-FOSS-Programmers/FoXy"
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-9
- ln -fs /usr/bin/gfortran-9 "$HOME/.local/bin/gfortran" && gfortran --version
- ls -l /usr/bin/gfortran-9
- ln -fs /usr/bin/gcov-9 "$HOME/.local/bin/gcov" && gcov --version
- pip install --user --upgrade pygooglechart
- pip install --user --upgrade graphviz
- pip install --user --upgrade FoBiS.py
- pip install --user --upgrade markdown-checklist
- pip install --user --upgrade ford
script:
- $MAKECOVERAGE
after_success:
- find . -name '*.gcno' -print
- bash <(curl -s https://codecov.io/bash)
- $MAKEDOC