From f38c6e9cee4c0f9d0b2caedb54e4350de00edd9b Mon Sep 17 00:00:00 2001 From: Deven Phillips Date: Thu, 18 Jul 2019 14:50:10 -0400 Subject: [PATCH] Set conditional build config --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2f442b8..769a457 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,5 @@ language: node_js +if: tag IS present OR NOT (branch == master) node_js: - node deploy: @@ -26,4 +27,4 @@ addons: script: - npm run test - if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then sonar-scanner; fi # sonar only on non-PRs - - npm run stryker \ No newline at end of file + - npm run stryker