forked from microservices-demo/payment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
26 lines (26 loc) · 1.27 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
language: go
sudo: required
services:
- docker
go:
- 1.7
before_install:
- go get -u github.com/mattn/goveralls
- go get -u github.com/FiloSottile/gvt
- gvt restore
install: true
env:
- GROUP=weaveworksdemos COMMIT=$TRAVIS_COMMIT TAG=$TRAVIS_TAG REPO=payment;
script:
- set -e
- "make test"
after_success:
- set -e;
- if [ -z "$DOCKER_PASS" ] ; then echo "This is a build triggered by an external PR.
Skipping docker push."; exit 0; fi;
- docker login -u $DOCKER_USER -p $DOCKER_PASS;
- "./scripts/push.sh"
- $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci
notifications:
slack:
secure: cRuwjAXZg1i/1qqQeeIe/Q0WmNE/WKOBvG+IWz/EDE/8sJBx67TugGIovCqW9J4VZX5hpzhGbnWV2535/+aHihbaquQ+2kO81EJaILD7MUoi2mxoIHH0KoMe/nYnI/Grdjv6+JbqybLfK3nQfq7sBQDbG8Qi4b7IcO2Bxg5Q9vUsRzJ1/NYNdDk/coEPlEDs+R0WqxmEFmVGDlZvbzNyMEzokkZIW+xEu8T9Qjr51Jn84zfQ1J46+y/ZNLKI+5oScX6JI4a2cYEopfwX2lQREl1YuL+NyuQw0jJy/mxtkai501XTiht7XOYbI+kmwj9+NIGQWGHlXSD7Q4Nrd/0MdMaAlUXxb+xlZ4uY1IpZnMfWT4nIe1SIr3hnwtIOrVcEwrElWvhm3dk3Lmrz46v0JUXkYh4DxEnMucYon0Q+4EoNRHFQWMSeKQNXrZocxu/DMTgiISUsE3lmqbL7SKMV27wDgyGaiWqgmMcmbR6d/gOilbbLoK9L2wtRaqPMpk4lAoIyzxt+EIs/iT73UHV3lz3/7a3QuIwC3T4BqwykT+8ioUW9QBlB8OeW2QQxIerxAGD+/Rwlb3+mAvnqqPfkXMoyEu+0MPuQg4hA/+ZXba9wivZMk57AM14hJO9EPYhcsf6V8FJHn8WDdCKGW95Kp8el5eJ22V2mIUQ5WLygReM=