Updated travis so that it tries to build the docker image, whcih in turn builds the project

This commit is contained in:
Alejandro Celaya 2019-03-03 10:18:23 +01:00
parent 2c6dbb42c1
commit 6ec870bb08

View file

@ -14,7 +14,7 @@ install:
script: script:
- yarn lint - yarn lint
- yarn test:ci - yarn test:ci
- if [[ -z $TRAVIS_TAG ]]; then yarn build ; fi - if [[ -z $TRAVIS_TAG ]]; then docker build . -t shlink-web-client:test ; fi # Test docker image build only when no tag is present
after_success: after_success:
- yarn ocular coverage/clover.xml - yarn ocular coverage/clover.xml