Skip to content

Commit

Permalink
Update test script.
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-eb committed Jul 8, 2016
1 parent faab104 commit 357d5ec
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 55 deletions.
12 changes: 8 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
sudo: false

language: node_js
node_js:
- '5'
- '4'
- '0.12'
matrix:
include:
- node_js: '5'
- node_js: '4'
- node_js: '0.12'
env: NO_ESLINT=true

script: "[[ $NO_ESLINT == true ]] && npm run test-012 || npm test"

after_success:
- './node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls'
48 changes: 0 additions & 48 deletions batchTests.js

This file was deleted.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"pretest": "eslint src",
"prepublish": "del-cli dist && BABEL_ENV=publish babel src --out-dir dist --ignore /__tests__/",
"report": "nyc report --reporter=html",
"test": "nyc node batchTests.js 'src/__tests__/*.js'",
"test-fast": "nyc ava src/__tests__/*.js"
"test": "nyc ava src/__tests__/*.js",
"test-012": "nyc ava src/__tests__/*.js"
},
"dependencies": {
"flatten": "^1.0.2",
Expand All @@ -50,7 +50,7 @@
"repository": "postcss/postcss-selector-parser",
"ava": {
"require": "babel-register",
"serial": true
"concurrency": 5
},
"nyc": {
"exclude": [
Expand Down

0 comments on commit 357d5ec

Please sign in to comment.