forked from quii/mockingjay-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (32 loc) · 821 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
33
34
# another try!
# https://raw.githubusercontent.com/kofj/travis-golang/master/.travis.yml
language: go
go:
- 1.7
env:
- "PATH=/home/travis/gopath/bin:$PATH"
install:
- . $HOME/.nvm/nvm.sh
- nvm install stable
- nvm use stable
- go get github.com/mitchellh/gox
- go get github.com/tcnksm/ghr
- go get -u github.com/golang/lint/golint
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
- go get github.com/jteeuwen/go-bindata/...
- go get github.com/elazarl/go-bindata-assetfs/...
script:
- ./build.sh
before_deploy:
- gox -output "dist/{{.OS}}_{{.Arch}}_{{.Dir}}" -ldflags="-w"
deploy:
provider: releases
file_glob: true
api_key: $GITHUB_TOKEN
file: "dist/*"
skip_cleanup: true
on:
tags: true
all_branches: true