forked from haraka/Haraka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (30 loc) · 798 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
language: node_js
node_js:
# - "0.6" # no longer supported by async
# - "0.8" # no longer supported by iconv
# - "0.10" # no longer supported by eslint
- "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:
- npm install -g grunt-cli
script:
- grunt lint
- node run_tests
after_success:
- npm install istanbul codecov.io
- ./node_modules/istanbul/lib/cli.js cov run_tests
- cat ./coverage/coverage.json | ./node_modules/codecov.io/bin/codecov.io.js
sudo: false