iris/.travis.yml
Gerasimos (Makis) Maropoulos 162c1b9cfe add go1.12 to the travis builds (there are 4 tested versions, and this delays the result - we may just use go1.12 in the future
Former-commit-id: a57466a1b29d324dda045bb69de9e79b60e42c5b
2019-06-02 18:29:22 +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 ./...