File tree Expand file tree Collapse file tree 6 files changed +45
-4
lines changed Expand file tree Collapse file tree 6 files changed +45
-4
lines changed Original file line number Diff line number Diff line change @@ -6,3 +6,4 @@ terraform_validate/__init__.pyc
6
6
terraform_validate /__pycache__ /
7
7
terraform_validate /terraform_validate.pyc
8
8
terraform_validate.egg-info /
9
+ htmlcov /
Original file line number Diff line number Diff line change @@ -5,13 +5,18 @@ python:
5
5
- " 3.2"
6
6
- " 3.3"
7
7
- " 3.4"
8
+ - " 3.5"
9
+ - " 3.5-dev" # 3.5 development branch
10
+ - " 3.6-dev" # 3.6 development branch
11
+ - " nightly" # currently points to 3.7-dev
8
12
# does not have headers provided, please ask https://launchpad.net/~pypy/+archive/ppa
9
13
# maintainers to fix their pypy-dev package.
10
14
- " pypy"
11
15
# command to install dependencies
12
16
install :
13
17
- pip install unittest2
18
+ - pip install 'coverage<4'
14
19
- pip install .
15
20
- pip install -r requirements.txt
16
21
# command to run tests
17
- script : py.test
22
+ script : ./coverage.sh
Original file line number Diff line number Diff line change 1
1
# Terraform Validate
2
2
3
- [ ![ Build Status] ( https://travis-ci.org/elmundio87/terraform_validate.svg?branch=master )] ( https://travis-ci.org/elmundio87/terraform_validate )
3
+ Linux: [ ![ Linux Build Status] ( https://travis-ci.org/elmundio87/terraform_validate.svg?branch=master )] ( https://travis-ci.org/elmundio87/terraform_validate )
4
+
5
+ Windows: [ ![ Windows Build status] ( https://ci.appveyor.com/api/projects/status/36dwtekc8tvrny24/branch/master?svg=true )] ( https://ci.appveyor.com/project/elmundio87/terraform-validate/branch/master )
4
6
5
7
A python package that assists in the enforcement of user-defined standards in Terraform.
6
8
Original file line number Diff line number Diff line change
1
+ environment :
2
+
3
+ matrix :
4
+
5
+ # For Python versions available on Appveyor, see
6
+ # http://www.appveyor.com/docs/installed-software#python
7
+ # The list here is complete (excluding Python 2.6, which
8
+ # isn't covered by this document) at the time of writing.
9
+
10
+ - PYTHON : " C:\\ Python27"
11
+ - PYTHON : " C:\\ Python33"
12
+ - PYTHON : " C:\\ Python34"
13
+ - PYTHON : " C:\\ Python35"
14
+ - PYTHON : " C:\\ Python27-x64"
15
+ - PYTHON : " C:\\ Python33-x64"
16
+ DISTUTILS_USE_SDK : " 1"
17
+ - PYTHON : " C:\\ Python34-x64"
18
+ DISTUTILS_USE_SDK : " 1"
19
+ - PYTHON : " C:\\ Python35-x64"
20
+
21
+ install :
22
+ - " %PYTHON%\\ python.exe -m pip install unittest2 pytest coverage^<4"
23
+ - " %PYTHON%\\ python.exe -m pip install -r requirements.txt"
24
+
25
+ build : off
26
+
27
+ test_script :
28
+ - " %PYTHON%\\ python.exe -m coverage run --source terraform_validate -m py.test"
29
+ - " %PYTHON%\\ python.exe -m coverage report --show-missing"
Original file line number Diff line number Diff line change 1
- py.test --cov=terraform_validate --cov-report=term-missing
1
+ #! /usr/bin/env bash
2
+ coverage run --source terraform_validate -m py.test
3
+ ret=$?
4
+ coverage report --show-missing
5
+ exit $ret
Original file line number Diff line number Diff line change 1
- pyhcl == 0.2.1
1
+ pyhcl == 0.2.2
You can’t perform that action at this time.
0 commit comments