-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
56 lines (43 loc) · 1.05 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
os:
- linux
language: go
go:
- "1.10.x"
install: true
sudo: required
services:
- docker
env:
- VERSION=0.1
matrix:
allow_failures:
- go: master
fast_finish: true
before_deploy:
- git config --local user.name "hunterlong"
- git config --local user.email "info@socialeck.com"
- git tag "v$VERSION" --force
deploy:
- provider: releases
api_key: $GH_TOKEN
file:
- "build/balancebadge-osx-x64"
- "build/balancebadge-osx-x32"
- "build/balancebadge-linux-x64"
- "build/balancebadge-linux-x32"
- "build/balancebadge-windows-x64.exe"
- "build/balancebadge-windows-x32.exe"
skip_cleanup: true
notifications:
email: false
before_install:
- if [[ "$TRAVIS_BRANCH" == "master" ]]; then travis_wait 30 docker pull karalabe/xgo-latest; fi
after_success:
- curl -s -X POST $DOCKER > /dev/null
before_script:
- go get github.com/stretchr/testify/assert
- go get github.com/karalabe/xgo
- go get
- go install
script:
- if [[ "$TRAVIS_BRANCH" == "master" ]]; then /bin/bash -c ./build.sh; fi