go-sqlcipher/.travis.yml

147 lines
3.3 KiB
YAML
Raw Normal View History

language: go
os:
- linux
- osx
addons:
apt:
update: true
env:
matrix:
- GOTAGS=
- GOTAGS=libsqlite3
- GOTAGS=trace
- GOTAGS=vtable
2013-08-29 05:03:00 +04:00
go:
- 1.7.x
- 1.8.x
- 1.9.x
- 1.10.x
- master
matrix:
allow_failures:
- go: master
exclude:
- os: osx
go: 1.7.x
include:
- os: linux
go: 1.7.x
env: GOTAGS= GOOS=windows GOARCH=386
- os: linux
go: 1.7.x
env: GOTAGS= GOOS=windows GOARCH=amd64
- os: linux
go: 1.7.x
env: GOTAGS=libsqlite3 GOOS=windows GOARCH=386
- os: linux
go: 1.7.x
env: GOTAGS=libsqlite3 GOOS=windows GOARCH=amd64
- os: linux
go: 1.7.x
env: GOTAGS=trace GOOS=windows GOARCH=386
- os: linux
go: 1.7.x
env: GOTAGS=trace GOOS=windows GOARCH=amd64
- os: linux
go: 1.7.x
env: GOTAGS=vtable GOOS=windows GOARCH=386
- os: linux
go: 1.7.x
env: GOTAGS=vtable GOOS=windows GOARCH=amd64
- os: linux
go: 1.8.x
env: GOTAGS= GOOS=windows GOARCH=386
- os: linux
go: 1.8.x
env: GOTAGS= GOOS=windows GOARCH=amd64
- os: linux
go: 1.8.x
env: GOTAGS=libsqlite3 GOOS=windows GOARCH=386
- os: linux
go: 1.8.x
env: GOTAGS=libsqlite3 GOOS=windows GOARCH=amd64
- os: linux
go: 1.8.x
env: GOTAGS=trace GOOS=windows GOARCH=386
- os: linux
go: 1.8.x
env: GOTAGS=trace GOOS=windows GOARCH=amd64
- os: linux
go: 1.8.x
env: GOTAGS=vtable GOOS=windows GOARCH=386
- os: linux
go: 1.8.x
env: GOTAGS=vtable GOOS=windows GOARCH=amd64
- os: linux
go: 1.9.x
env: GOTAGS= GOOS=windows GOARCH=386
- os: linux
go: 1.9.x
env: GOTAGS= GOOS=windows GOARCH=amd64
- os: linux
go: 1.9.x
env: GOTAGS=libsqlite3 GOOS=windows GOARCH=386
- os: linux
go: 1.9.x
env: GOTAGS=libsqlite3 GOOS=windows GOARCH=amd64
- os: linux
go: 1.9.x
env: GOTAGS=trace GOOS=windows GOARCH=386
- os: linux
go: 1.9.x
env: GOTAGS=trace GOOS=windows GOARCH=amd64
- os: linux
go: 1.9.x
env: GOTAGS=vtable GOOS=windows GOARCH=386
- os: linux
go: 1.9.x
env: GOTAGS=vtable GOOS=windows GOARCH=amd64
- os: linux
go: 1.10.x
env: GOTAGS= GOOS=windows GOARCH=386
- os: linux
go: 1.10.x
env: GOTAGS= GOOS=windows GOARCH=amd64
- os: linux
go: 1.10.x
env: GOTAGS=libsqlite3 GOOS=windows GOARCH=386
- os: linux
go: 1.10.x
env: GOTAGS=libsqlite3 GOOS=windows GOARCH=amd64
- os: linux
go: 1.10.x
env: GOTAGS=trace GOOS=windows GOARCH=386
- os: linux
go: 1.10.x
env: GOTAGS=trace GOOS=windows GOARCH=amd64
- os: linux
go: 1.10.x
env: GOTAGS=vtable GOOS=windows GOARCH=386
- os: linux
go: 1.10.x
env: GOTAGS=vtable GOOS=windows GOARCH=amd64
2013-06-11 15:08:24 +04:00
before_install:
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update
fi
- |
if [[ "${GOOS}" != "windows" ]]; then
go get github.com/mattn/goveralls
go get golang.org/x/tools/cmd/cover
fi
2013-06-11 15:08:24 +04:00
script:
- GOOS=$(go env GOOS) GOARCH=$(go env GOARCH) go build -v -tags "${GOTAGS}" .
- |
if [[ "${GOOS}" != "windows" ]]; then
$HOME/gopath/bin/goveralls -repotoken 3qJVUE0iQwqnCbmNcDsjYu1nh4J4KIFXx
go test -race -v . -tags "${GOTAGS}"
fi