-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
17 lines (17 loc) · 3.32 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
language: minimal
sudo: required
services:
- docker
if: branch IN (master, develop)
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build -t drivereu/test-bed-time-service:$TRAVIS_BRANCH-latest .
- if [ $TRAVIS_BRANCH == "master" ]; then docker tag drivereu/test-bed-time-service:$TRAVIS_BRANCH-latest
drivereu/test-bed-time-service:latest; fi
- if [ ! -z $TRAVIS_TAG ]; then docker tag drivereu/test-bed-time-service:$TRAVIS_BRANCH-latest
drivereu/test-bed-time-service:$TRAVIS_TAG; fi
- docker push drivereu/test-bed-time-service
#env:
# global:
# - secure: Gsav+qPbtRBhEThcBOb33VlxugoBO+NptHPiWMnMM74S5pPn0nn4dR+eiDcB54U8aKbkKQHnpB8r+1eijgYAAIHESa1u1JxSp4T2oyrCODQNem1aYlplnuqFEH5CgIMJbsL6QknhZlHeKusJiGzzyNoBrfqhyYVkPyk/fQVlikjh58Pt84R8hKFJbm81Jyq5/M6vHLUSntV8y5cUbTsRBHiARrnOrTEXhVqybmdxnXNwqxJits6ytoL50ruKfZD1LeKHKFA9x9q51AruAWgH5LPoTVK2oHdl5Z0wtc6oyIg/lCQqHqAzpQCdFhazu7bLzXR4VqahMgjERdfyoOs2rrrlwR8QlhnqNz6LEthxw1aomb9+fu0TSvZxIg0H57YhHiueCqPOFO+8OlvW7I7r8noizIPYKZOmznWTm6JfATo3R2EUpXRcIZ1d+qQG7S9ceEH28hIVwrl2FmwhG3apAfiU5oZ+Dn1guY/gLx2lc4ZVJchyoIGwQCWtmkxuiF6hWC8HRqgeR6eEbL8xelbQ9GHJP76cSvfepl1Q1lKoPaYPDarVmgwBgsVVkjJ6sGt+h8l3Q8c4pQBCGHyFeW9NtY0yXpmosbxNT22yYiGt/MGvL75YtXo1KO8GSJGM/lseQo5hhD2F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