forked from node-opcua/node-opcua
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (31 loc) · 994 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
sudo: false
language: node_js
node_js:
# dropping support for node 0.10 - "0.10"
# dropping support for node 0.12 - "0.12"
# dropping support for node 4
- "6"
# dropped - "7"
- "8"
- "9"
before_script:
- npm install -g istanbul coveralls
- npm install -g mocha
- npm install -g codeclimate-test-reporter
# memcpy only works with node version > 0.8 and <= 0.12, and not with io.js, at this time
- if [[ `node --version` == v0.12 ]]; then npm i memcpy ; fi
- if [[ `node --version` == v0.10* ]]; then npm i [email protected] ; fi
after_success:
- make test-cov
script:
- npm test
addons:
code_climate:
repo_token: 0860a573fd01a1fbafc298b7c40cd0c1fd8b25e5f53a5e8346d3b42cb40ab48e
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/4d51130aaea652dbc8f1
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: true # default: false