install terraform

This commit is contained in:
Freddy Tan 2016-11-18 16:58:02 +08:00
parent 0776ae7db4
commit bf9bd75e25

View file

@ -9,8 +9,15 @@ python:
# - "3.6-dev" # 3.6 development branch # - "3.6-dev" # 3.6 development branch
# - "nightly" # currently points to 3.7-dev # - "nightly" # currently points to 3.7-dev
# command to install dependencies # command to install dependencies
before_install: 'sudo apt-get install unzip'
before_script:
- 'wget https://releases.hashicorp.com/terraform/0.7.11/terraform_0.7.11_linux_amd64.zip'
- 'mkdir terraform'
- 'unzip terraform_0.7.11_linux_amd64.zip -d terraform'
- 'sudo ln -s $PWD/terraform/terraform /usr/local/terraform'
install: "pip install -r test/requirements.txt" install: "pip install -r test/requirements.txt"
# command to run tests # command to run tests
script: script:
- cd test - cd test
- pytest - py.test