forked from cyclus/cyclus
-
Notifications
You must be signed in to change notification settings - Fork 1
/
circle.yml
35 lines (31 loc) · 1.05 KB
/
circle.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
machine:
services:
- docker
dependencies:
override:
- docker build --rm=false -t cyclus/cyclus:latest .
test:
override:
- docker run cyclus/cyclus:latest cyclus_unit_tests; exit $?
- docker run cyclus/cyclus:latest nosetests3 -w /cyclus/tests; exit $?
deployment:
develop:
branch: develop
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker push cyclus/cyclus:latest
master:
branch: master
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
# Update cyclus/cylus:stable docker container
- docker tag cyclus/cyclus:latest cyclus/cyclus:stable # creation
- docker push cyclus/cyclus:stable # push to docker depot
## DEB GENERATION
# Ubuntu 14.04
- docker/deb-ci/build_upload_deb.sh 14 :
timeout: 1200 # set 20 minute timeout (to avoid CI to fail)
# Ubuntu 16.04
- docker/deb-ci/build_upload_deb.sh 16 :
timeout: 1200 # set 20 minute timeout (to avoid CI to fail)
## END DEB GENERATION