You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dda-python-terraform/.travis.yml

25 lines
626 B
YAML

8 years ago
language: python
python:
- "2.7"
8 years ago
# - "3.2"
# - "3.3"
# - "3.4"
8 years ago
- "3.5"
# - "3.5-dev" # 3.5 development branch
# - "3.6-dev" # 3.6 development branch
# - "nightly" # currently points to 3.7-dev
# 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 tf_bin'
- 'unzip terraform_0.7.11_linux_amd64.zip -d tf_bin'
install:
- "pip install -r test/requirements.txt"
- "pip install ."
8 years ago
# command to run tests
script:
- "export PATH=$PATH:$PWD/tf_bin"
8 years ago
- cd test
- py.test