2017-08-08 09:26:01 +00:00
|
|
|
language: go
|
|
|
|
|
|
|
|
go:
|
2017-09-23 10:53:26 +00:00
|
|
|
- 1.6.x
|
|
|
|
- 1.7.x
|
|
|
|
- 1.8.x
|
|
|
|
- 1.9.x
|
2018-03-19 15:51:38 +00:00
|
|
|
|
2018-01-16 13:20:59 +00:00
|
|
|
install: go get -u golang.org/x/oauth2
|
2018-03-19 15:51:38 +00:00
|
|
|
|
|
|
|
script:
|
|
|
|
- set -e
|
|
|
|
- GOOS=linux GOARCH=amd64 go install ./dropbox/...
|
|
|
|
- GOOS=darwin GOARCH=amd64 go install ./dropbox/...
|
|
|
|
- GOOS=windows GOARCH=amd64 go install ./dropbox/...
|
|
|
|
- set +e
|
2017-08-08 09:26:01 +00:00
|
|
|
|
2018-01-16 13:20:59 +00:00
|
|
|
jobs:
|
|
|
|
include:
|
|
|
|
- stage: run tests
|
|
|
|
go: 1.9.x
|
|
|
|
install: go get -u golang.org/x/oauth2
|
|
|
|
script: go test ./dropbox/...
|