forked from cyclus/cycamore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
36 lines (32 loc) · 1.09 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
36
machine:
services:
- docker
dependencies:
override:
- docker build -t cyclus/cycamore:latest .
test:
override:
- docker run cyclus/cycamore:latest cycamore_unit_tests
- docker run cyclus/cycamore:latest nosetests3 -w /cycamore/tests
deployment:
develop:
branch: develop
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker push cyclus/cycamore:latest
master:
branch: master
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
# Update cyclus/cylus:stable docker container
- rm Dockerfile && ln -s docker/master-ci/Dockerfile # place the correct Dockerfile
- docker build -t cyclus/cycamore:stable .
- docker push cyclus/cycamore:stable
# 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