fix terraform path

This commit is contained in:
Freddy Tan 2016-11-18 17:35:17 +08:00
parent baf18a3e0b
commit fcdbc612a5

View file

@ -12,14 +12,14 @@ python:
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' - 'wget https://releases.hashicorp.com/terraform/0.7.11/terraform_0.7.11_linux_amd64.zip'
- 'unzip terraform_0.7.11_linux_amd64.zip -d test' - 'mkdir tf_bin'
- './test/terraform --version' - 'unzip terraform_0.7.11_linux_amd64.zip -d tf_bin'
install: install:
- "pip install -r test/requirements.txt" - "pip install -r test/requirements.txt"
- "pip install ." - "pip install ."
# command to run tests # command to run tests
script: script:
- "export PATH=$PATH:$PWD/test" - "export PATH=$PATH:$PWD/tf_bin"
- cd test - cd test
- py.test - py.test