-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
43 lines (35 loc) · 874 Bytes
/
.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
sudo: required
language: go
notifications:
on_success: never
on_failure: always
env:
global:
- TYK_LOGLEVEL=info
addons:
apt:
packages:
- python3.5
- python3-pip
- libluajit-5.1-dev
matrix:
include:
- go: 1.10.x
- go: 1.11.x
env: LATEST_GO=true # run linters and report coverage
services:
- redis-server
install:
- go get
- go install ./...
# As of 1.9, ./... no longer includes ./vendor/...
- go install ./vendor/{golang.org/x/tools/cmd/goimports,github.com/wadey/gocovmerge,github.com/mattn/goveralls}
script:
- sudo pip3 install google
- sudo pip3 install protobuf
- go build -tags 'coprocess python'
- go build -tags 'coprocess lua'
- go build -tags 'coprocess grpc'
- ./utils/ci-test.sh
- if [[ $LATEST_GO ]]; then goveralls -coverprofile=<(gocovmerge *.cov); fi
- ./utils/ci-benchmark.sh