Skip to content

Commit

Permalink
Tag releases
Browse files Browse the repository at this point in the history
  • Loading branch information
olevitt authored Apr 28, 2020
1 parent cec44f8 commit b271729
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,24 @@ addons:
install:
- yarn config set registry https://registry.npmjs.org
- yarn install
scrip:
script:
- yarn test-coverage
- yarn build
- docker build -t inseefrlab/onyxia-ui .
after_script:
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
- bash scripts/deploy.sh
deploy:
skip_cleanup: true
provider: script
script:
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
&& docker push inseefrlab/onyxia-ui
on:
branch: master
- provider: script
skip_cleanup: true
script:
docker build -t inseefrlab/onyxia-ui:latest . && echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
&& docker push inseefrlab/onyxia-ui:latest
on:
branch: master
- provider: script
skip_cleanup: true
script:
docker build -t inseefrlab/onyxia-ui:$TRAVIS_TAG . && echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
&& docker push inseefrlab/onyxia-ui:$TRAVIS_TAG
on:
tags: true

0 comments on commit b271729

Please sign in to comment.