-
Notifications
You must be signed in to change notification settings - Fork 41
/
.travis.yml
34 lines (30 loc) · 1.16 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
language: c
sudo: false
branches:
only:
- master
os:
- linux
- osx
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; fi
- chmod +x miniconda.sh
- ./miniconda.sh -b -p ./miniconda
- export PATH=`pwd`/miniconda/bin:$PATH
- conda update --yes conda
- conda install --yes psutil yaml pyyaml
- conda-env create -f gds_py/gds_py.yml
- source activate gds
- pip install -r gds_py/gds_py_pip.txt
script:
#- jupyter nbconvert --to markdown --execute --ExecutePreprocessor.timeout=480 --allow-errors check_gds_stack.ipynb --stdout
- jupyter nbconvert --to markdown --execute --ExecutePreprocessor.timeout=480 gds_py/check_py_stack.ipynb
#- conda list --explicit
#- source activate gds_fixed
#- jupyter nbconvert --to markdown --execute --ExecutePreprocessor.timeout=480 check_gds_stack.ipynb
notifications:
email:
recipients:
- daniel.arribas.bel@gmail.com
on_failure: always