joyent-portal/circle.yml
2016-10-18 19:27:46 +01:00

34 lines
779 B
YAML

## Customize the test machine
machine:
timezone:
Europe/London
services:
- docker
dependencies:
pre:
- npm install -g triton
- echo '{"url":"https://eu-ams-1.api.joyent.com","account":"'$SDC_ACCOUNT'","keyId":"c3:30:35:9b:85:48:73:44:31:cc:4b:2e:6a:00:16:e2","name":"eu-ams-1","curr":true}' | triton profile create -f -
- ./bin/setup.sh
override:
- make install
test:
override:
- make test
deployment:
production: # just a label; label names are completely up to you
branch: master
commands:
- docker info
- docker-compose up -d
## Custom notifications
# notify:
# webhooks:
# # A list of hashes representing hooks. Only the url field is supported.
# - url: https://someurl.com/hooks/circle