1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-01 07:30:07 +02:00

ci: install docker-compose in the correct way

This commit is contained in:
Tom Gallacher 2016-10-26 10:51:28 +01:00
parent 8733a60acb
commit c6dbc497bb

View File

@ -20,7 +20,9 @@ dependencies:
cache_directories: cache_directories:
- "/opt/circleci/python/2.7.11/lib/python2.7/site-packages" - "/opt/circleci/python/2.7.11/lib/python2.7/site-packages"
pre: pre:
- pip --version && pip install --upgrade docker-compose==1.8.1 && docker-compose -v && command -v docker-compose - curl -L https://github.com/docker/compose/releases/download/1.8.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
- chmod +x /usr/local/bin/docker-compose
- docker-compose -v
- yarn global add triton - yarn global add 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 - - 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 -
post: post: