-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
34 lines (31 loc) · 2.23 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
language: node_js
node_js:
- '8'
sudo: required
services:
- docker
if: branch IN (master, develop)
# before_install:
# - npm install -g pnpm
# install:
# - cd ./packages/gui && pnpm install
# - cd ./packages/service && pnpm install
# before_install:
# - npm install -g yarn
# - yarn global add @vue/cli
# - cd ./packages/gui
# install:
# - npm install
# - npm run build
script:
- echo $DOCKER_PASSWORD | docker login --username $DOCKER_USERNAME --password-stdin
- docker build -t drivereu/kafka-replay-service:$TRAVIS_BRANCH-latest .
- if [ $TRAVIS_BRANCH == "master" ]; then docker tag drivereu/kafka-replay-service:$TRAVIS_BRANCH-latest
drivereu/kafka-replay-service:latest; fi
- if [ ! -z $TRAVIS_TAG ]; then docker tag drivereu/kafka-replay-service:$TRAVIS_BRANCH-latest
drivereu/kafka-replay-service:$TRAVIS_TAG; fi
- docker push drivereu/kafka-replay-service
env:
global:
- secure: rQbIbofRctqie9HkV/yqmBlEBn5UW7W6UleOQ3lExhyIkpkWm3jRTMPvwOoO5lUNJDZRU1oIoRMKCq8rwIeAFCnuFhxB6gsDQsN1yZo7GBF/k3s3odNKRgUXbfifkAEvaWmf8+v3GBftphufogKhPohL9lW1VUcSal3UikqeerCQSZybJRJc1EUH0IFDz/HqyBHOvvvV/2cORO9UhTn6e/5434zaRFHX9rAaGBbMbMSxdOdBLxS8w6RcPdXo8F9fUbhSvwxGRyrx3IPsqwyjR4PaqX6oPIYzyAy0uMaV+ZT6JNu45tSqaGXzqcEtpmbLhkCK+ap1oX5Et4/Wx02Wd4yRvMv9pi4+6qAYG/ztsdbM5HAmKaJjeLk8ySmaL9HP1wm8Q307to6uklgcnxobAfPOQzxPd1gDZo1zJwx6mkofm85GTUv9rQ9am98WqTJ2/lhFm4l67AbkQ64J1J40wSiLZBSWJN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