2017-08-08 11:26:01 +02:00
|
|
|
language: go
|
|
|
|
|
|
|
|
go:
|
2017-09-23 12:53:26 +02:00
|
|
|
- 1.8.x
|
|
|
|
- 1.9.x
|
2018-05-25 20:08:10 +02:00
|
|
|
- 1.10.x
|
2018-03-19 16:51:38 +01:00
|
|
|
|
2018-05-25 20:08:10 +02:00
|
|
|
install: go get -u golang.org/x/oauth2
|
2017-08-08 11:26:01 +02:00
|
|
|
|
2018-05-02 18:09:45 +02:00
|
|
|
script:
|
2018-05-25 20:08:10 +02:00
|
|
|
- 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
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
include:
|
|
|
|
- stage: run tests
|
|
|
|
go: 1.9.x
|
|
|
|
install: go get -u golang.org/x/oauth2
|
|
|
|
script: go test ./dropbox/...
|