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'
|
|
|
|
- '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
|
2016-11-18 09:08:10 +00:00
|
|
|
install:
|
2017-01-04 07:42:16 +00:00
|
|
|
- curl https://bootstrap.pypa.io/ez_setup.py -o - | python
|
|
|
|
- pip install tox-travis
|
|
|
|
- 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
|
2016-11-24 07:20:35 +00:00
|
|
|
- tox
|
2017-01-04 06:20:06 +00:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- develop
|
2017-01-04 06:20:24 +00:00
|
|
|
- release/**
|