-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
74 lines (63 loc) · 2.15 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
69
70
71
72
73
74
language: generic
sudo: false
cache:
apt: true
pip: true
directories:
- $HOME/.cache/pip
- $HOME/.local
git:
submodules: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gfortran-9
- binutils
- python-pip
- graphviz
env:
global:
- MAKECOVERAGE="FoBiS.py rule -ex makecoverage"
- MAKEDOC="./scripts/makedoc.sh szaghi/forbear"
- CLEAN="FoBiS.py rule -ex clean"
- MAKETAR="FoBiS.py rule -ex maketar"
before_install:
- git submodule update --init
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
before_deploy:
- $CLEAN
- $MAKETAR
- mv forbear.tar.gz forbear-$TRAVIS_TAG.tar.gz
deploy:
provider: releases
api_key:
secure: rbEvdtEoWjm+KvCKAPDwgWDpD8MMY3z8XZTfIOqjLN2qXYH+1m0hnDtANegOKLjtg4+tdg143iF5D0FE2skmdgpp0PU9vLo4ivENAvCsP4Mt6dwb5h9AhlWoS1JkkL+5MHVL/MqoX3/IsyKVTjujOwbny2ENCFkd7uiNGiA18+CYDlC0/KxSmwVcOJmVnhjqisf15GXc8+Df+vJcMIYRkDMdAZtkuJ1gXRbajOHF/gmU0E89dqTVqnoJkDSMM7pFPNAiD+lAAmLsPm5AWYispDe5toZ1vVLxobJW+PRO9XLBBc1NV4Uz6GTeauWi1TTzR/Ej5D7TQL3QN4EpaMkPh4kSoVGGo2miBZc0e8B/TYeihdc9z7QCDStoychGrprCrE15aXs6B74qHBqjEa+/MXhEOpXZt7JqW9J8D9AS6VoFQnz8ipsLQ+/7cugYtP4KLwPvk+fW8yNy1UbNCcZQiIUQfrrxdl5EtRxylJcqiriS/UNN1gHA/fRwoif36UsBvlDirPKAHUCRZgEe4sGVCv2KuQRUEImiaLM5B098q7GWx29SyZ4/ocOD8dxrN0xh7LBo69KwOx2mwGkWBbWg0tZ/OG0UvHAN4zdFGOomnb7sLqqVNcEIU5nMuTHJwisI+GKFooJe+x+EgAbW2DLN07sEPucGktiSVlWl9/grkME=
file:
- forbear-$TRAVIS_TAG.tar.gz
- ./scripts/install.sh
skip_cleanup: true
overwrite: true
on:
tags: true