From bffca57cead39161af1aa417e2257040f0effd91 Mon Sep 17 00:00:00 2001 From: Tom Gallacher Date: Wed, 19 Oct 2016 15:24:46 +0100 Subject: [PATCH] circleci: optimise circle.yml --- circle.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/circle.yml b/circle.yml index cc2c6613..525b70e8 100644 --- a/circle.yml +++ b/circle.yml @@ -1,22 +1,25 @@ ## Customize the test 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: Europe/London services: - docker + node: + version: 6.9.0 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: + post: - make install test: - override: + post: - make test deployment: