2017-11-02 04:54:33 +01:00
|
|
|
language: go
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
go:
|
2019-06-02 17:29:22 +02:00
|
|
|
- 1.12.x
|
2017-11-02 04:54:33 +01:00
|
|
|
go_import_path: github.com/kataras/iris
|
2018-04-22 12:52:36 +02:00
|
|
|
# we disable test caching via GOCACHE=off
|
2018-10-21 18:20:05 +02:00
|
|
|
# env:
|
|
|
|
# global:
|
|
|
|
# - GOCACHE=off
|
2017-11-02 04:54:33 +01:00
|
|
|
install:
|
2017-11-02 05:51:46 +01:00
|
|
|
- go get ./... # for iris-contrib/httpexpect, kataras/golog
|
2017-11-02 04:54:33 +01:00
|
|
|
script:
|
|
|
|
- go test -v -cover ./...
|
|
|
|
after_script:
|
|
|
|
# examples
|
|
|
|
- cd ./_examples
|
|
|
|
- go get ./...
|
|
|
|
- go test -v -cover ./...
|
|
|
|
- cd ../
|
|
|
|
# typescript examples
|
|
|
|
- cd ./typescript/_examples
|
|
|
|
- go get ./...
|
2018-03-17 01:27:25 +01:00
|
|
|
- go test -v -cover ./...
|
|
|
|
- cd ../../
|
|
|
|
# make sure that the _benchmarks code is working
|
|
|
|
- cd ./_benchmarks
|
|
|
|
- go get ./...
|
2017-06-15 19:02:08 +02:00
|
|
|
- go test -v -cover ./...
|