-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
21 lines (16 loc) · 824 Bytes
/
Copy path.travis.yml
File metadata and controls
21 lines (16 loc) · 824 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
sudo: required
language: python
python: 2.7
services:
- docker
before_install:
- docker build -t bgruening/docker-jupyter-notebook .
- docker run -d -p 8888:8888 bgruening/docker-jupyter-notebook
script:
- docker ps
# testing the get/put helper scripts
- docker run -i -t bgruening/docker-jupyter-notebook python -c 'import galaxy_ie_helpers'
# - sleep 20 && curl --fail http://localhost:8888/ipython/notebooks
#after_success:
# - if [[ $TRAVIS_PULL_REQUEST -eq "false" ]]; then docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"; fi
# - if [[ $TRAVIS_PULL_REQUEST -eq "false" ]]; then docker tag -f bgruening/docker-jupyter-notebook bgruening/docker-jupyter-notebook:${TRAVIS_TAG:-$TRAVIS_BRANCH}; docker push bgruening/docker-jupyter-notebook:${TRAVIS_TAG:-$TRAVIS_BRANCH}; fi