forked from improbable-eng/grpc-web
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
37 lines (37 loc) · 1.4 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
language: go
go:
- 1.8
go_import_path: github.com/improbable-eng/grpc-web
addons:
hosts:
# These must match the hosts defined in test/hosts-config.ts
- testhost
- corshost
env:
- PROTOBUF_VER="3.2.0"
cache:
directories:
- node_modules
before_install:
- sudo apt-get install unzip
- bash install-protobuf.sh
- true && `base64 --decode <<< ZXhwb3J0IEJST1dTRVJfU1RBQ0tfVVNFUk5BTUU9aW1wcm9iYWJsZWVuZ2JvdDEK`
- true && `base64 --decode <<< ZXhwb3J0IEJST1dTRVJfU1RBQ0tfQUNDRVNTX0tFWT1xTGJxUjE2azhqdFducVh2RmlvZwo=`
install:
- export PATH=/home/travis/gopath/src/github.com/improbable-eng/grpc-web/protobuf/bin:$PATH
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install 6
- go get github.com/sirupsen/logrus
- go get github.com/grpc-ecosystem/go-grpc-prometheus
- go get github.com/mwitkow/go-conntrack
- go get github.com/mwitkow/go-conntrack/connhelpers
- go get github.com/mwitkow/go-grpc-middleware
- go get github.com/mwitkow/go-grpc-middleware/logging/logrus
- go get github.com/mwitkow/grpc-proxy/proxy
- go get github.com/prometheus/client_golang/prometheus/promhttp
- go get github.com/spf13/pflag
- go get github.com/rs/cors
- go get github.com/golang/protobuf/protoc-gen-go
- go get github.com/stretchr/testify
- npm install
script:
- npm run test