forked from minishift/minishift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (27 loc) · 928 Bytes
/
.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
language: go
go:
- 1.11.4
install:
- mkdir -p /home/travis/gopath/bin
- mkdir -p /home/travis/gopath/pkg
- cd $HOME/gopath/src/github.com
- mv `ls` foo
- mv foo minishift
- cd minishift/minishift
- GODEP_OS_ARCH=`go env GOHOSTOS`-`go env GOHOSTARCH`
- GODEP_TAG=v0.4.1
- GODEP_LATEST_RELEASE_URL="https://github.com/golang/dep/releases/download/${GODEP_TAG}/dep-${GODEP_OS_ARCH}"
- mkdir /tmp/godep
- wget ${GODEP_LATEST_RELEASE_URL} -O /tmp/godep/dep
- chmod +x /tmp/godep/dep
- export PATH=$PATH:/tmp/godep/
script: |
make prerelease
#token allows to use increased GH API limit, has no other rights
#to replace create new GH user and generate token with no extra privileges
MINISHIFT_GITHUB_API_TOKEN=f62950fc041df6f8788a7d23157a39936a0af440 make coverage
after_success: |
cd out
bash <(curl -s https://codecov.io/bash)
notifications:
webhooks: http://minibot.19cf262c.svc.dockerapp.io:9009/hubot/travis-ci