mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-23 09:30:31 +03:00
Changed build steps so that mutation testing a docker build are only run on pull request builds
This commit is contained in:
parent
18d125430d
commit
03806abda0
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue