File tree 1 file changed +4
-12
lines changed
1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -27,20 +27,12 @@ jobs:
27
27
script :
28
28
- py.test -v
29
29
- coverage run --source terraform_compliance setup.py test
30
- - echo \"Current tag is $TRAVIS_TAG\"
31
-
32
- - stage : Code Quality
33
- script :
34
- - echo 'Scanning source code with SonarCloud'
35
- - coverage erase
36
- - coverage run --branch --source=terraform_compliance setup.py test
37
- - coverage xml -i
38
- - sonar-scanner -Dsonar.projectKey=terraform-compliance -Dsonar.organization=eerkunt-github -Dsonar.sources=. -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_LOGIN -Dsonar.exclusions=tests/** -Dsonar.python.coverage.reportPath=coverage.xml || travis_terminate 1
30
+ - echo "Current tag is $TRAVIS_TAG"
39
31
40
32
- stage : Build & Deploy (PYPI)
41
33
script :
42
- - echo ' PYPI Build & Deploy'
43
- - echo \ "Current tag is $TRAVIS_TAG\ "
34
+ - echo " PYPI Build & Deploy"
35
+ - echo "Current tag is $TRAVIS_TAG"
44
36
- jinja2 -D VERSION=$TRAVIS_TAG terraform_compliance/__init__.py -o terraform_compliance/__init__.py.templated
45
37
- cat terraform_compliance/__init__.py.templated
46
38
- cp terraform_compliance/__init__.py.templated terraform_compliance/__init__.py
64
56
script :
65
57
- echo "Docker Build & Deploy"
66
58
- echo "Validating the version with the tag"
67
- - echo \ "Current tag is $TRAVIS_TAG\ "
59
+ - echo "Current tag is $TRAVIS_TAG"
68
60
- jinja2 -D VERSION=$TRAVIS_TAG terraform_compliance/__init__.py -o terraform_compliance/__init__.py.templated
69
61
- cat terraform_compliance/__init__.py.templated
70
62
- cp terraform_compliance/__init__.py.templated terraform_compliance/__init__.py
You can’t perform that action at this time.
0 commit comments