File tree 3 files changed +14
-26
lines changed
3 files changed +14
-26
lines changed Original file line number Diff line number Diff line change 1
1
language : " node_js"
2
2
node_js :
3
+ - " 11"
4
+ - " 10"
5
+ - " 9"
6
+ - " 8"
7
+ - " 7"
8
+ - " 6"
3
9
- " 5"
4
10
- " 4"
5
11
- " 3" # io.js
@@ -8,15 +14,15 @@ node_js:
8
14
- " 0.12"
9
15
- " 0.10"
10
16
- " 0.8"
11
- - " 0.6"
12
17
13
18
19
+ # NOTE: `istanbul` and `coveralls` are pinned for compatibility with node 0.8.
14
20
before_install :
15
- - " npm install make-node @0.3.x -g "
16
- - " preinstall-compat "
21
+ - " npm install -g istanbul @0.2.2 "
22
+ -
" npm install -g [email protected] "
17
23
18
24
script :
19
- - " make test-cov "
25
+ - " make check "
20
26
21
27
after_success :
22
28
- " make report-cov"
Original file line number Diff line number Diff line change 1
1
include node_modules/make-node/main.mk
2
2
3
-
4
- SOURCES = lib/*.js lib/**/*.js
5
- TESTS = test/*.test.js test/**/*.test.js
6
-
7
- LCOVFILE = ./reports/coverage/lcov.info
8
-
9
3
MOCHAFLAGS = --require ./test/bootstrap/node
10
4
11
5
12
- view-docs :
13
- open ./docs/index.html
14
-
15
- view-cov :
16
- open ./reports/coverage/lcov-report/index.html
17
-
18
- clean : clean-docs clean-cov
19
- -rm -r $(REPORTSDIR )
20
-
21
- clobber : clean
22
- -rm -r node_modules
23
-
24
-
25
- .PHONY : clean clobber
6
+ # Perform self-tests.
7
+ check : test
Original file line number Diff line number Diff line change 34
34
"passport-oauth2" : " 1.x.x"
35
35
},
36
36
"devDependencies" : {
37
- "make-node" : " 0.3.x " ,
37
+ "make-node" : " 0.4.6 " ,
38
38
"mocha" : " 1.x.x" ,
39
39
"chai" : " 2.x.x" ,
40
40
"chai-passport-strategy" : " 1.x.x"
43
43
"node" : " >= 0.4.0"
44
44
},
45
45
"scripts" : {
46
- "test" : " node_modules/.bin/mocha --require test/bootstrap/node test/*.test.js test/**/*.test.js "
46
+ "test" : " make test"
47
47
}
48
48
}
You can’t perform that action at this time.
0 commit comments