forked from haraka/Haraka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (33 loc) · 805 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
39
40
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"
# - "5" # no longer maintained by node.js (see node 7)
- "6"
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