Skip to content

Commit b56031e

Browse files
committed
[Tests] on node v7.2
1 parent b67dbb9 commit b56031e

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
language: node_js
22
node_js:
3+
- "7.2"
34
- "7.1"
45
- "7.0"
56
- "6.9"
@@ -64,7 +65,7 @@ before_install:
6465
- 'if [ "${SAUCE-}" = "true" ]; then npm install -g grunt-cli; fi'
6566
script:
6667
- 'if [ "${SAUCE-}" = "true" ]; then npm run sauce; fi'
67-
- 'if [ "${LINT-}" = "true" ]; then npm test; fi'
68+
- 'if [ "${PRETEST-}" = "true" ]; then npm run pretest; fi'
6869
- 'if [ "${TEST-}" = "true"]; then npm run tests-only; fi'
6970
# NOTE: sauce_connect is disabled, because it applies to every test and we only need it on one of them.
7071
# It's available inside `npm run sauce`
@@ -77,10 +78,11 @@ matrix:
7778
fast_finish: true
7879
include:
7980
- node_js: "node"
80-
env: LINT=true
81+
env: PRETEST=true
8182
- node_js: "node"
8283
env: SAUCE=true
8384
allow_failures:
85+
- node_js: "7.1"
8486
- node_js: "7.0"
8587
- node_js: "6.8"
8688
- node_js: "6.7"

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
},
2424
"main": "es6-shim",
2525
"scripts": {
26-
"pretest": "npm run --silent lint",
27-
"test": "evalmd *.md && npm run --silent tests-only",
26+
"pretest": "npm run --silent lint && evalmd *.md",
27+
"test": "npm run --silent tests-only",
2828
"tests-only": "npm run --silent test:shim && npm run --silent test:sham",
2929
"test:shim": "mocha test/*.js test/*/*.js",
3030
"test:sham": "mocha test-sham/*.js",

0 commit comments

Comments
 (0)