iris/.travis.yml

25 lines
673 B
YAML

language: go
os:
- linux
- osx
go:
- go1.8
go_import_path: github.com/kataras/iris
install:
- go get ./...
# install test dependencies
# - go get golang.org/x/tools/cmd/cover
# - go get -v github.com/axw/gocov
# - go install github.com/axw/gocov/gocov
script:
# - gocov test | gocov report
# the result of gocov is invalid because it tests the vendor too,
# which its tests are removed to reduce the dl size.
# When I'll push my internal tests to github I'll do it
# to do the test coverage all folders except vendor.
# For now keep it commented.
# - cd ./_examples
# - go get ./...
# - go test -v -cover ./...
# - cd ./...
- go test -v -cover ./...