forked from openzipkin/zipkin-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
120 lines (100 loc) · 2.28 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
language: node_js
dist: trusty
sudo: required
matrix:
include:
- node_js: 8
env:
- CXX=clang-3.6
- KAFKA_PLEASE_LOG=verbose
- TEST_SUITE=nodejs
- name: 'browser'
node_js: 8
env:
- CXX=clang-3.6
- TEST_SUITE=browser
addons:
chrome: stable
- node_js: 10
env:
- CXX=clang-3.6
- KAFKA_PLEASE_LOG=verbose
- TEST_SUITE=nodejs
- name: 'browser'
node_js: 10
env:
- CXX=clang-3.6
- TEST_SUITE=browser
addons:
chrome: stable
- node_js: 12
env:
- CXX=clang-3.6
- KAFKA_PLEASE_LOG=verbose
- TEST_SUITE=nodejs
- name: 'browser'
node_js: 12
env:
- CXX=clang-3.6
- TEST_SUITE=browser
addons:
chrome: stable
- node_js: 13
env:
- CXX=clang-3.6
- KAFKA_PLEASE_LOG=verbose
- TEST_SUITE=nodejs
- name: 'browser'
node_js: 13
env:
- CXX=clang-3.6
- TEST_SUITE=browser
addons:
chrome: stable
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/1.24.0/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.21.1
- export PATH="$HOME/.yarn/bin:$PATH"
install:
- yarn install --ignore-engines
script:
- yarn lint
- yarn test
services:
- memcached
- redis
- postgresql
- docker
compiler: clang-3.6
addons:
apt:
sources:
- ubuntu-toolchain-r-test
#- llvm-toolchain-precise-3.7
packages:
- libgnome-keyring-dev
#- clang-3.7
- clang
before_deploy:
- yarn install
- git checkout yarn.lock
- echo "//registry.npmjs.org/:_authToken=\${NPM_AUTH_TOKEN}" >> $HOME/.npmrc 2> /dev/null
deploy:
provider: script
script: "yarn lerna-publish-ci"
skip_cleanup: true
on:
branch: master
node: "12"
tags: false
condition: $TEST_SUITE = "nodejs"
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/ead3c37d57527214e9f2
- https://webhooks.gitter.im/e/e57478303f87ecd7bffc
on_success: change
on_failure: always