forked from microservices-demo/orders
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (28 loc) · 1.38 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
language: java
sudo: required
services:
- docker
jdk:
- oraclejdk8
install: true
env:
- GROUP=weaveworksdemos COMMIT=$TRAVIS_COMMIT TAG=$TRAVIS_TAG REPO=orders;
script:
- set -e
- sudo ./scripts/build.sh;
- travis_wait ./test/test.sh unit.py
- ./test/test.sh component.py
- docker build -t weaveworksdemos/json-server ./test/json-server/
- ./test/test.sh container.py --tag $TAG
after_success:
- set -e;
- ./test/test.sh coveralls.py
- if [ -z "$DOCKER_PASS" ] ; then
echo "This is a build triggered by an external PR. Skipping docker push.";
exit 0;
fi;
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS;
- ./scripts/push.sh
notifications:
slack:
secure: lAK+IGj7PLcxuBWbA5/bT9O1bJ5rVPpWVhWsPUXsSrrsMplOssVEGTIMjmM/iy88vhDMdR7rgCuoPg1/mlsT+EFfW+7RTbdtkeP3Ai7NAGO7MS5sVundp3zyaLfX5HtWaBDGnHRfKgTqv3iOT7Px27mSY7Bx0QIKjgY//ywTJQ5PviPXsKuHetFFHClPlOUiDueShMG/0WTjP0BKqbQ688sVPIb3+F4HgVdU3hUg8jbzKiMC4Xw7VCSF9FJJM1nmwaKotDPKUOTNTPnl6rAa64va/xJpitoPJMQlQTps0QhYYMSAXugRC5PObN/hEt2LABfCcmTqSfvt5RuJRJhNx+qJkMg+DbalrRW6mCa9lyRjt37SEPDD1DnG5mWKopbnMVP8hIWyVpzv/2CBt4yGOo04fMT0HutSR8I1hYxl1GclFMCMyPkQ/9rDHOZAxelqZ9SM0jK+8N5rVwEHmIgkjQssCOa5UB0yF/Xbn71FKGnNfdxPpU3MjCKmpHFNpl3mba5gTMK08zJqbLuw55DMYnION8E0c/WWiVRooPxA7/23eN1t4tlA7JrX3xHX3p4SmzWqqB2pLZdqW+KHPKo8i19qoCJ4+CBaay38ddyH6Jvj8kYfOGJH5j2JvffW75Zc6JvUkzvBEKkj3iN7jGb5pvslN9ucxEksMBvWrq3vhts=