update terraform bin files

This commit is contained in:
Freddy Tan 2016-12-20 23:20:42 +08:00
parent d2440a6b21
commit c134143fd9

View file

@ -11,9 +11,15 @@ python:
# command to install dependencies # command to install dependencies
before_install: 'sudo apt-get install unzip' before_install: 'sudo apt-get install unzip'
before_script: before_script:
- 'wget https://releases.hashicorp.com/terraform/0.7.11/terraform_0.7.11_linux_amd64.zip' - 'export TFVER=0.8.1'
- 'export TFURL=https://releases.hashicorp.com/terraform/'
- 'TFURL+=$TFVER'
- 'TFURL+="/terraform_"'
- 'TFURL+=$TFVER'
- 'TFURL+="_linux_amd64.zip"'
- 'wget $TFURL -O terraform_bin.zip'
- 'mkdir tf_bin' - 'mkdir tf_bin'
- 'unzip terraform_0.7.11_linux_amd64.zip -d tf_bin' - 'unzip terraform_bin.zip -d tf_bin'
install: install:
- "curl https://bootstrap.pypa.io/ez_setup.py -o - | python" - "curl https://bootstrap.pypa.io/ez_setup.py -o - | python"