-
Notifications
You must be signed in to change notification settings - Fork 16
/
.travis.yml
30 lines (25 loc) · 1.28 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
language: python
python: 3.6
addons:
apt_packages:
- pandoc
services:
- docker
# This gives Doctr the key we've generated
sudo: false
env:
global:
- DOCKER_IMAGE=pangeo/pangeo-notebook:2019.12.08
- secure: "oDx29SLKJxzbSg9N9G713DcjLPzsgRbrloLdpt5H+pxCKxxY50h7iLgikcBOzDWFcJlfYopsDeIHVSq4iDQtQuhANKberjUsIp6gWozZVZu5g4wUgftvCaHgVTbzcTUwuWDlSPbY6tdnVOXGewGfy7R5Jz4I+AXwMzX1RM/LP5joEtluwBH7J87YWmUO8rN5sWzT9HdlhTHhwRkPKNSiFqpJYOz4QUyEJ13R3UEe6jxfqT6Vqw3alJdltam7WCYg9tfI3wzv3FS4lD7Ep6HkF/eYI2OJexY3VKPPTigm+qLfMz3RMi7TuT1OvoxCCEDKXWFzJpSd9mTozN0PTEUOb/a4K4n1s1UC/GGJ34sdC+wFx3Qfs89W1rFEA7cc+WeRQHJ8MvCfFkLtzcm/xqA+V7Pv3TTt4HrNFR5DM6/hoqytE2tU2p1P0XZZ29mZVhAVjgVUX0ELSxSfmhoqVzVfFJnqlbzMlz8xzg8LdDYWn4/d9n7Rz3FRN92ACM9TKv6DXbUFrjg4n81wkMX0MG1Zd0kQ9PcuMGS29Wws0iRgG61b7IdmazKjqJ9tj+FaaDCoDaOB11hc1QVE2hr5Y/wvqFMgOEjgdGB6GNw0TIldDsK4OYU2dEWvf/+zlzxZMb/t5IW9HG2yvaLrRc/sjDNPHlGzWCUauXST/gyjYWR45+c="
before_install:
- docker pull $DOCKER_IMAGE
- docker run -d -it --name pangeo -p 8888:8888 $DOCKER_IMAGE jupyter notebook --ip 0.0.0.0 --allow-root
- docker ps -a
- docker exec pangeo bash -c "pip install pytest rstcloth"
install:
- docker cp . pangeo:/home/jovyan/
- pip install -r docs/requirements.txt
script:
- >
docker exec -it pangeo bash -c
'py.test --durations=9999 -v tests/*.py'