surrealpatch/circle.yml

40 lines
738 B
YAML
Raw Normal View History

2016-07-04 10:31:46 +00:00
# -----------------------------------
general:
branches:
only:
- master
# -----------------------------------
machine:
timezone:
UTC
services:
- docker
# -----------------------------------
dependencies:
override:
2016-07-04 11:21:37 +00:00
- export PATH=./:$PATH
2016-07-04 10:31:46 +00:00
- docker info
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
# -----------------------------------
test:
override:
- make test
- make build
2016-07-04 10:35:23 +00:00
- docker build -t abcum/surreal .
2016-07-04 10:31:46 +00:00
- docker run -d abcum/surreal start; sleep 15
# -----------------------------------
deployment:
deploy:
branch: master
commands:
- docker push abcum/surreal