circleci: optimise circle.yml

This commit is contained in:
Tom Gallacher 2016-10-19 15:24:46 +01:00
parent 1d86d4c776
commit bffca57cea

View File

@ -1,22 +1,25 @@
## Customize the test machine ## Customize the test machine
machine: machine:
pre:
- npm install -g triton
post:
- 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
timezone: timezone:
Europe/London Europe/London
services: services:
- docker - docker
node:
version: 6.9.0
dependencies: dependencies:
pre: post:
- 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 - make install
test: test:
override: post:
- make test - make test
deployment: deployment: