-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
47 lines (43 loc) · 2.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
sudo: required
services:
- docker
env:
global:
- OWNER=dddlab # should match OWNER in Makefile
- JUPYTER_TAG=94fdd01b492f # jupyter docker-stack tag: e.g. jupyter/scipy-notebook:${JUPYTER_TAG}
- DTAG="v$(date +%Y%m%d)-${TRAVIS_COMMIT:0:7}-${JUPYTER_TAG}"
- secure: o4FUa4TIwWHHmXVFgQkK6m3psKSYho25IV1S/9UDuLR8cyFdRDU4duMvvrwALRn3ih6vrZoebQWIJsch+wB+idshi9ldibqfwnf/Dv8KhrRpTbNruxWQWatzlUo4/S/hnz10QQHssdJ04zzPv7FxVKmmlOEYqhYs6KjX1H9CD2ixFaMhx+/Zdo9MK1HOpILIvJ9ocTQFGSu/2eMPkYQl3t9yvKqGc5c0Z/SR9+OzkL1nZ4LEnM+rLqMNjpt4E0JoaXk+vILKo3u9rq7ERkzpRf7zFUYx8Te1viWyyWeeL76AFLEEsQ8NHZz01Zlg7Qg0z3qOzeGvRRCFAONatoNmT9mDXecM1RvsOjp2IKt4MvxLRNPUYyIcsteA+8isaBNcdOzcBjyGQ/M95zAxTt3Xdjq24Sfl3ZkcNtBZGFOKFoxhXqj6ABBbsoRbMERDEaG69AHnEoSQKYbaGQuPP7nKlxDs8eCPXRfJQG9iq1T6pOecAoY18KK8Rh9oqJUkxMno5db10ULR09Se6f7TCWwcSJxCXlGF9I02RMp8bpHAV9fHRx90qIviDBMi66yjz2tudvsfgXMND6sVjN7+GPyL4XsmGBLgg2zS+rhtJrLpGy4HMTeyNQ2cx53KmG6avw6vkkQb6QFk6dKqzLmU9ksk1KrxfZsFlQpEmk4zgN1IhLY=
jobs:
include:
- stage: dddlab-base-images
name: base-scipy
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- >
DTAG=${DTAG}
DARGS="--build-arg BASE_IMAGE=jupyter/scipy-notebook:${JUPYTER_TAG}"
make build/base-scipy
- name: base-rstudio
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- >
DTAG=${DTAG}
DARGS="--build-arg BASE_IMAGE=jupyter/r-notebook:${JUPYTER_TAG}"
make build/base-rstudio
- stage: dddlab-user-images
name: python-rstudio-notebook
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- >
DTAG=${DTAG}
DARGS="--build-arg BASE_IMAGE=${OWNER}/base-scipy:${DTAG}"
make build/python-rstudio-notebook
- name: python-notebook
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- >
DTAG=${DTAG}
DARGS="--build-arg BASE_IMAGE=${OWNER}/base-scipy:${DTAG}"
make build/python-notebook
after_script:
- docker images