24 lines
365 B
YAML
24 lines
365 B
YAML
language: go
|
|
sudo: required
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- go: master
|
|
include:
|
|
# Supported versions of Go: https://golang.org/dl/
|
|
- go: '1.11.x'
|
|
- go: '1.12.x'
|
|
- go: master
|
|
|
|
go_import_path: github.com/yi-ge/unzip
|
|
|
|
cache:
|
|
directories:
|
|
- $GOPATH/pkg
|
|
|
|
before_install:
|
|
- echo "TRAVIS_GO_VERSION=${TRAVIS_GO_VERSION}"
|
|
|
|
script:
|
|
- go test -v
|