forked from haraka/Haraka
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
48 lines (39 loc) · 1.01 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
language: node_js
node_js:
# - 0.6 # no longer supported by async
# - 0.8 # no longer supported by iconv
# - 0.10 # no longer maintained by node.js (2016-10-31)
# - 0.12 # no longer maintained by node.js (2016-12-31)
# - 4 # LTS ended 2017-04-01 (crit only)
# - 5 # no longer maintained by node.js (see node 7)
- "6" # LTS until 2018-04
- "7" # current until 2017-04
- "8" # current as of 2017-04, LTS on 2017-10
matrix:
fast_finish: true
allow_failures:
- node_js: "8"
services:
- redis-server
# these are required for building on node.js v4+
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
env:
- "CXX=g++-4.8"
# end: these are required for building on node.js v4+
before_script:
script:
- npm run lint
- npm test
after_success:
- npm install istanbul codecov
- npm run cover
- ./node_modules/.bin/codecov
sudo: false
cache:
directories:
- node_modules