-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
28 lines (28 loc) · 1.13 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
dist: xenial
sudo: required
services:
- docker
jobs:
include:
- stage: build/push docker cpu
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- cd ${TRAVIS_BUILD_DIR}/dockerfiles
- travis_wait 50 make docker_build_cpu
- travis_retry make docker_push_cpu
- cd ${TRAVIS_BUILD_DIR}/mxnet-agent/dockerfiles
- travis_wait 50 make docker_build_cpu
- travis_retry make docker_push_cpu
- stage: build/push docker gpu
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- cd ${TRAVIS_BUILD_DIR}/dockerfiles
- travis_wait 50 make docker_build_gpu
- travis_retry make docker_push_gpu
- cd ${TRAVIS_BUILD_DIR}/mxnet-agent/dockerfiles
- travis_wait 50 make docker_build_gpu
- travis_retry make docker_push_gpu
- stage: update microbadger
script:
- curl -X POST https://hooks.microbadger.com/images/carml/mxnet/vdQvZQSNuiSvR9dzwryuJbvyfwc=
- curl -X POST https://hooks.microbadger.com/images/carml/mxnet-agent/TDLR5KTXvgfzyKLfKBn71v2hmjE=