Skip to content

Commit 6b45c54

Browse files
committed
build(appscan): Only run appscan on tagged commits
1 parent 4ea9117 commit 6b45c54

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.travis.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,12 @@ install:
1919
- npm install -g semantic-release
2020
- npm install -g @semantic-release/exec
2121
- bundle install
22-
# - 'if [ "${TRAVIS_TAG}" = "${TRAVIS_BRANCH}" ]; then cd appscan; make asoc-tool; cd ../; fi'
23-
- cd appscan; make asoc-tool; cd ../;
22+
- 'if [ "${TRAVIS_TAG}" = "${TRAVIS_BRANCH}" ]; then cd appscan; make asoc-tool; cd ../; fi'
2423
before_script:
25-
# - 'if [ "${TRAVIS_TAG}" = "${TRAVIS_BRANCH}" ]; then chmod a+x ./appscan/ASOC.sh; fi'
26-
- chmod a+x ./appscan/ASOC.sh;
24+
- 'if [ "${TRAVIS_TAG}" = "${TRAVIS_BRANCH}" ]; then chmod a+x ./appscan/ASOC.sh; fi'
2725
script:
2826
- bundle exec rake
29-
# - 'if [ "${TRAVIS_TAG}" = "${TRAVIS_BRANCH}" ]; then ./appscan/ASOC.sh; fi'
30-
- ./appscan/ASOC.sh;
27+
- 'if [ "${TRAVIS_TAG}" = "${TRAVIS_BRANCH}" ]; then ./appscan/ASOC.sh; fi'
3128

3229
before_deploy:
3330
- bundle exec rake test:appveyor_status

0 commit comments

Comments
 (0)