surrealpatch/circle.yml

40 lines
756 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:
- docker info
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
2016-07-04 11:47:13 +00:00
- go get -u github.com/Masterminds/glide
2016-07-04 10:31:46 +00:00
# -----------------------------------
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