forked from iris-contrib/middleware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (46 loc) · 1.01 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
language: go
os:
- linux
- osx
go:
- go1.9
script:
- go test -v -cover ./...
after_script:
# middleware cloudwatch example
- cd ./cloudwatch/_example
- go get ./...
- go test -v ./...
# middleware cors example
- cd ../../cors/_example
- go get ./...
- go test -v ./...
# middleware jwt example and test
- cd ../jwt
- go test -v ./...
- cd _example
- go get ./...
- go test -v ./...
# middleware newrelic example
- cd ../../newrelic/_example
- go get ./...
- go test -v ./...
# middleware prometheus example
- cd ../../prometheus/_example
- go get ./...
- go test -v ./...
# middleware secure example
- cd ../../secure/_example
- go get ./...
- go test -v ./...
# middleware tollboothic examples
- cd ../../tollboothic/_examples/limit-handler
- go get ./...
- go test -v ./...
# middleware casbin examples
- cd ../../../casbin/_examples/middleware
- go get ./...
- go test -v ./...
- cd ../../../casbin/_examples/wrapper
- go get ./...
- go test -v ./...