Skip to content

Commit

Permalink
Move STRICT_REQUIRE to build files
Browse files Browse the repository at this point in the history
  • Loading branch information
sheerun committed Jan 14, 2015
1 parent e1a2dfc commit 1195957
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .travis.yml
@@ -1,9 +1,15 @@
language: node_js

node_js:
- '0.10'
- '0.11'

matrix:
allow_failures:
- node_js: '0.11'

env:
- STRICT_REQUIRE=1

script:
- grunt travis
2 changes: 1 addition & 1 deletion Gruntfile.js
Expand Up @@ -40,7 +40,7 @@ module.exports = function (grunt) {
command: 'node test/packages.js --force && node test/packages-svn.js --force'
},
cover: {
command: 'STRICT_REQUIRE=1 node node_modules/istanbul/lib/cli.js cover --dir ./test/reports node_modules/mocha/bin/_mocha -- -R dot test/test.js'
command: 'node node_modules/istanbul/lib/cli.js cover --dir ./test/reports node_modules/mocha/bin/_mocha -- -R dot test/test.js'
},
coveralls: {
command: 'node node_modules/.bin/coveralls < test/reports/lcov.info'
Expand Down
1 change: 1 addition & 0 deletions appveyor.yml
Expand Up @@ -12,6 +12,7 @@ environment:
- nodejs_version: "0.10"
# - nodejs_version: "0.11"
COVERALLS_SERVICE_NAME: appveyor
STRICT_REQUIRE: 1

# Allow failing jobs for bleeding-edge Node.js versions.
matrix:
Expand Down

0 comments on commit 1195957

Please sign in to comment.