forked from improbable-eng/grpc-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
57 lines (57 loc) · 1.91 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
47
48
49
50
51
52
53
54
55
56
57
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:
global:
- PROTOBUF_VER="3.5.0"
# GLOBAL_TESTSERVER is used to skip starting the testserver in run-with-testserver.sh
- GLOBAL_TESTSERVER=true
- SEPARATE_TEST_SUITES=true
matrix:
- GOTEST=1
- BROWSER=nodejs
- BROWSER=firefox53_osx
- BROWSER=firefox39_osx
- BROWSER=firefox38_osx
- BROWSER=firefox21_osx
- BROWSER=chrome_57
- BROWSER=chrome_52
- BROWSER=chrome_43
- BROWSER=chrome_42
- BROWSER=chrome_41
# Edge does not support aborting fetch requests (documented known limitation in project README)
- BROWSER=edge15_win DISABLE_ABORT_TESTS=true
- BROWSER=edge14_win DISABLE_ABORT_TESTS=true
- BROWSER=edge13_win DISABLE_ABORT_TESTS=true
# Browsers that do not support trusting self-signed certs for wss:// connections are disabled (see https://github.com/improbable-eng/grpc-web/issues/165)
- BROWSER=ie11_win DISABLE_WEBSOCKET_TESTS=true
- BROWSER=safari11 DISABLE_WEBSOCKET_TESTS=true
- BROWSER=safari9_1 DISABLE_WEBSOCKET_TESTS=true
- BROWSER=safari8 DISABLE_WEBSOCKET_TESTS=true
- BROWSER=safari6 DISABLE_WEBSOCKET_TESTS=true
cache:
directories:
- node_modules
before_install:
- sudo apt-get install unzip
- . ./install-protobuf.sh
- true && `base64 --decode <<< ZXhwb3J0IEJST1dTRVJfU1RBQ0tfVVNFUk5BTUU9aW1wcm9iYWJsZWVuZ2JvdDEK`
- true && `base64 --decode <<< ZXhwb3J0IEJST1dTRVJfU1RBQ0tfQUNDRVNTX0tFWT1SRG1Cc2pwQUJ4RlljcEVkeVp5bwo=`
install:
- go get -u github.com/golang/dep/cmd/dep
- go get -u golang.org/x/tools/cmd/goimports
- go get -u github.com/robertkrimen/godocdown/godocdown
- dep ensure
- nvm install
- npm install
before_script:
- ./test/start-testserver.sh &
script:
- ./lint-all.sh
- travis_retry npm run test