-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy path.travis.yml
74 lines (63 loc) · 2.17 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 Fortran-FOSS-Programmers/FOODIE"
- 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 FOODIE.tar.gz FOODIE-$TRAVIS_TAG.tar.gz
deploy:
provider: releases
api_key:
secure: g9xfZ+6+mBClH3HUSWT/2/pbPvJt2Ht5G4loa0gEYtaCd5mgY5Y/UMWH47/suF7T78JoMr+g4fEGNy2XoYLcgQ8e9dfwd+lixpYVycIoeJ85byvLH7TfAEpOXsllb703dF0aQ1xnrsrExhQXfr+4/gP5421RNVPIWe8K+oTYBfaOWTI0drEilbC4Heb8KhQ4fgHkptk6eOu7vN3fWZm1s9fNmK38iCWmsqffgFcbbTfS7dmFtOShc/YHdf2hYHSwHTeAodZ6Moqc2Yy4WihcB89O9exW7w82SrIPxTpwwFcsqKKX0tC8BLyOMjKde+wXvr5kh9Q5rnEpuH2gKl0yv8wXukCSwi7qg4WmD7QjtF1QmWdvzwZortvhPHAGFI2rjdIQv3HnuvOZQSYfLqlcqUGFy82b36WBshi03HjHMNd79LoEotX3T/3mb9avUr5DAVGr8+EsMBQqJf+LaD4ycoz2zeiBmxzxk0d65ZE+Zhrax/rPSncFj0j8Z7E5ro5X+FAKIkYYE1wKnCDiwZdrkVlVHV1+WG+CFE2A/0/yPnTUEDed1Nj1UmkXZT2MCZf/ZGrwBkaNucV4UjgGZTlBEw4j6ffHBFQ/GsAkY3otxq6UjWB1O9T6vw4lhiJw4uWP09m/+HonORJlGNBtsRnJ7ZWUlJhsdJ8WXaJ0yXPByJU=
file:
- FOODIE-$TRAVIS_TAG.tar.gz
- ./scripts/install.sh
skip_cleanup: true
overwrite: true
on:
tags: true