mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 18:51:03 +01:00
b62080c4bb
Former-commit-id: 49fcdb93106a78f0a24ad3fb4d8725e35e98451a
31 lines
647 B
YAML
31 lines
647 B
YAML
language: go
|
|
os:
|
|
- linux
|
|
- osx
|
|
go:
|
|
- "go1.9"
|
|
- "go1.10"
|
|
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 ./... |