surrealpatch/circle.yml
Tobie Morgan Hitchcock 9d3e551c27 Update glide
2016-07-04 12:16:38 +01:00

41 lines
No EOL
803 B
YAML

# -----------------------------------
general:
branches:
only:
- master
# -----------------------------------
machine:
timezone:
UTC
services:
- docker
# -----------------------------------
dependencies:
override:
- docker info
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- sudo add-apt-repository -y ppa:masterminds/glide
- sudo apt-get install glide
# -----------------------------------
test:
override:
- make test
- make build
- docker build -t abcum/surreal .
- docker run -d abcum/surreal start; sleep 15
# -----------------------------------
deployment:
deploy:
branch: master
commands:
- docker push abcum/surreal