dda-python-terraform/.travis.yml

29 lines
587 B
YAML
Raw Permalink Normal View History

2016-11-18 07:46:05 +00:00
language: python
python:
2017-05-11 17:28:52 +00:00
- '3.6'
2020-10-19 21:57:22 +00:00
- '3.7'
- '3.8'
2021-01-21 01:01:34 +00:00
- '3.9'
2017-01-04 07:42:16 +00:00
before_install: sudo apt-get install unzip
2016-11-18 08:58:02 +00:00
before_script:
2020-10-19 22:24:16 +00:00
- export TFVER=0.13.4
2017-01-04 07:42:16 +00:00
- 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
- unzip terraform_bin.zip -d tf_bin
install:
2017-01-04 07:42:16 +00:00
- curl https://bootstrap.pypa.io/ez_setup.py -o - | python
- pip install .
2016-11-18 07:46:05 +00:00
script:
2017-01-04 07:42:16 +00:00
- export PATH=$PATH:$PWD/tf_bin
2020-10-20 22:39:43 +00:00
- pytest -v
branches:
only:
- master
- develop
- release/**