2016-10-17 19:56:01 +03:00
|
|
|
## Customize the test machine
|
|
|
|
machine:
|
|
|
|
|
|
|
|
timezone:
|
|
|
|
Europe/London
|
|
|
|
|
2016-10-18 12:54:32 +03:00
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
2016-10-18 13:00:25 +03:00
|
|
|
dependencies:
|
2016-10-17 20:00:50 +03:00
|
|
|
pre:
|
2016-10-18 13:00:25 +03:00
|
|
|
- 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:
|
2016-10-17 20:00:50 +03:00
|
|
|
- make install
|
2016-10-18 13:00:25 +03:00
|
|
|
|
|
|
|
test:
|
2016-10-17 19:56:01 +03:00
|
|
|
override:
|
|
|
|
- make test
|
|
|
|
|
2016-10-18 13:00:25 +03:00
|
|
|
deployment:
|
|
|
|
production: # just a label; label names are completely up to you
|
|
|
|
branch: master
|
|
|
|
commands:
|
|
|
|
- docker info
|
|
|
|
- docker-compose up -d
|
2016-10-17 19:56:01 +03:00
|
|
|
|
|
|
|
## Custom notifications
|
|
|
|
# notify:
|
|
|
|
# webhooks:
|
|
|
|
# # A list of hashes representing hooks. Only the url field is supported.
|
|
|
|
# - url: https://someurl.com/hooks/circle
|