Russ Garrett
7 years ago
No account linked to committer's email address
1 changed files with
14 additions and
0 deletions
-
.travis.yml
|
@@ -0,0 +1,14 @@
|
|
1
|
+language: go
|
|
2
|
+go:
|
|
3
|
+ - 1.7
|
|
4
|
+env:
|
|
5
|
+ - "PATH=/home/travis/gopath/bin:$PATH"
|
|
6
|
+before_install:
|
|
7
|
+ - go get github.com/mitchellh/gox
|
|
8
|
+ - gox -build-toolchain
|
|
9
|
+ - go get github.com/tcnksm/ghr
|
|
10
|
+script:
|
|
11
|
+ - go test -v ./...
|
|
12
|
+after_success:
|
|
13
|
+ - gox -output "dist/{{.OS}}_{{.Arch}}_{{.Dir}}"
|
|
14
|
+ - ghr --username russss --token $GITHUB_TOKEN --replace --prerelease --debug pre-release dist/
|