forked from alexZajac/airlines_performance
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
22 lines (22 loc) · 964 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
language: python
env:
- PYTHON_VERSION=3.7 IPYTHON_KERNEL=python3
before_install:
- wget -q http://repo.continuum.io/miniconda/Miniconda-3.6.0-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b -p /home/travis/miniconda
- export PATH=/home/travis/miniconda/bin:$PATH
- conda update --yes --quiet conda
install:
- conda create -n test_env --yes pip python=$PYTHON_VERSION
- source activate test_env
- pip install -q nbconvert[test]
- pip install git+https://github.com/paris-saclay-cds/ramp-workflow.git
- pip install -r requirements.txt
script:
- python download_data.py
- jupyter nbconvert --execute starting_kit.ipynb --ExecutePreprocessor.kernel_name=$IPYTHON_KERNEL --to markdown
- travis_wait 30 jupyter nbconvert --execute ./explanations_professors/data_engineering.ipynb --ExecutePreprocessor.kernel_name=$IPYTHON_KERNEL --to markdown
- ramp-test --submission=starting_kit
notifications:
email: true