mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-16 20:43:48 +00:00
Changed build steps so that mutation testing a docker build are only run on pull request builds
This commit is contained in:
@@ -20,8 +20,8 @@ before_script:
|
|||||||
script:
|
script:
|
||||||
- npm run lint
|
- npm run lint
|
||||||
- npm run test:ci
|
- npm run test:ci
|
||||||
- if [[ -z $TRAVIS_TAG ]]; then docker build -t shlink-web-client:test . ; fi
|
- if [[ $TRAVIS_PULL_REQUEST != 'false' ]]; then docker build -t shlink-web-client:test . ; fi
|
||||||
- if [[ -z $TRAVIS_TAG ]]; then npm run mutate:ci ; fi
|
- if [[ $TRAVIS_PULL_REQUEST != 'false' ]]; then npm run mutate:ci ; fi
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- node_modules/.bin/ocular coverage/clover.xml
|
- node_modules/.bin/ocular coverage/clover.xml
|
||||||
|
|||||||
Reference in New Issue
Block a user