forked from opencobra/cobratoolbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
25 lines (20 loc) · 848 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
language: bash
before_install:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
#- git submodule update --force --init --recursive
script:
# set the environment variable CURRENT_DIR
- CURRENT_DIR=`pwd`
# change to the current directory
- cd $CURRENT_DIR
# launch the tests
- sh .ci/runtests.sh
after_success:
- if [ "$MATLAB_VER" == "R2016b" ]; then
bash <(curl -s https://codecov.io/bash) -f "!*.lst";
export PATH="/var/lib/jenkins/.local/bin":$PATH;
pip install --upgrade --user -r docs/requirements.txt;
here=`pwd`;
python ~/github_stats.py $here/docs/source/list_contributors.rst;
python -c "from documenter.deploy import Documentation; doc = Documentation('github.com/opencobra/cobratoolbox', local_upstream='$here', ci='jenkins'); doc.deploy()";
fi