Browse Source

Add travis yml

tags/v0.1.0
Russ Garrett 7 years ago
parent
commit
6f79d1c54d
No account linked to committer's email address
1 changed files with 14 additions and 0 deletions
  1. 14
    0
      .travis.yml

+ 14
- 0
.travis.yml View File

@@ -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/

Loading…
Cancel
Save