-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
48 lines (39 loc) · 1.26 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
# Set up notification options
notifications:
email:
recipients:
- amanprtpsingh@gmail.com
# change is when the repo status goes from pass to fail or vice versa
on_success: change
on_failure: always
# specify language
language: python
sudo: enabled
# specify language options
python:
- '2.7'
# configure which branches to run
branches:
# whitelist
only:
- master
## begin build steps
####################
before_install:
- sudo apt-get update -qq
- python -m pip install jupyter
- python -m pip install ganga
- python -m pip install ipython --upgrade
- ipython profile create
- cp -r test/ $(ipython locate)/extensions/
- mv $(ipython locate)/extensions/test $(ipython locate)/extensions/extension
- echo "c.InteractiveShellApp.extensions.append('extension')" >> $(ipython profile locate default)/ipython_kernel_config.py
install:
- cd $TRAVIS_BUILD_DIR/extension/
- python -m pip install .
- jupyter nbextension install --py gangaextension --sys-prefix
- jupyter nbextension enable --py gangaextension --sys-prefix
- jupyter serverextension enable --py gangaextension --sys-prefix
script:
- cd $TRAVIS_BUILD_DIR/
- jupyter-nbconvert --to notebook --execute --ExecutePreprocessor.timeout=1000 notebooks/help_robinson.ipynb