iris/.travis.yml
Gerasimos (Makis) Maropoulos ee2ad57836 add go 1.12.x on the travis
Former-commit-id: 2e2d6533f2ce0aac13bd789a888b82a0cd467a81
2019-06-07 21:15:23 +03:00

33 lines
671 B
YAML

language: go
os:
- linux
- osx
go:
- 1.9.x
- 1.10.x
- 1.11.x
- 1.12.x
go_import_path: github.com/kataras/iris
# we disable test caching via GOCACHE=off
# env:
# global:
# - GOCACHE=off
install:
- go get ./... # for iris-contrib/httpexpect, kataras/golog
script:
- go test -v -cover ./...
after_script:
# examples
- cd ./_examples
- go get ./...
- go test -v -cover ./...
- cd ../
# typescript examples
- cd ./typescript/_examples
- go get ./...
- go test -v -cover ./...
- cd ../../
# make sure that the _benchmarks code is working
- cd ./_benchmarks
- go get ./...
- go test -v -cover ./...