forked from NCAR/wrf_hydro_docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
25 lines (22 loc) · 995 Bytes
/
.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
sudo: required
dist: trusty
services:
- docker
install: []
before_script: []
script:
- echo "building dev:base"; cd $TRAVIS_BUILD_DIR/dev/base/; travis_wait 30 bash build.sh; #Long running build add in travis wait
- echo "building dev:conda"; cd $TRAVIS_BUILD_DIR/dev/conda/; travis_wait 30 bash build.sh;
- echo "building domains:croton_NY"; cd $TRAVIS_BUILD_DIR/domains/croton_NY/; bash build.sh;
- echo "building wps"; cd $TRAVIS_BUILD_DIR/wps/; bash build.sh;
- echo "building training:latest"; cd $TRAVIS_BUILD_DIR/training; bash build.sh;
# - travis_wait 30 bash build_all.sh
#before_deploy:
# - docker login -u "$REGISTRY_USER" -p "$REGISTRY_PASS"
after_success:
- docker login -u "$REGISTRY_USER" -p "$REGISTRY_PASS"
- travis_wait 30 docker push wrfhydro/dev:base
- travis_wait 30 docker push wrfhydro/dev:conda
- travis_wait 30 docker push wrfhydro/domains:croton_NY
- travis_wait 30 docker push wrfhydro/wps
- travis_wait 30 docker push wrfhydro/training