Skip to content

Commit cc07c98

Browse files
author
Kelly Selden
committed
change test job boundaries
1 parent 7dff4d7 commit cc07c98

3 files changed

Lines changed: 8 additions & 10 deletions

File tree

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ cache:
1111
directories:
1212
- "$HOME/.npm"
1313
env:
14-
- TEST_COMMAND=test:bin
15-
- TEST_COMMAND=test:command
14+
- TEST_COMMAND=test:fast
15+
- TEST_COMMAND=test:slow
1616
- TEST_COMMAND=lint
1717
before_install:
1818
- npm config set spin false
@@ -37,8 +37,8 @@ jobs:
3737
env: TEST_COMMAND=lint
3838
include:
3939
- os: osx
40-
node_js: node
41-
env: TEST_COMMAND=test:both
40+
node_js: '8'
41+
env: TEST_COMMAND=test:slow
4242
- stage: Deploy
4343
cache: ignore
4444
env: ignore

appveyor.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
environment:
22
matrix:
33
- nodejs_version: "8"
4-
- nodejs_version: ""
54

65
branches:
76
only:
@@ -32,7 +31,7 @@ install:
3231
test_script:
3332
- node --version
3433
- npm --version
35-
- npm run test:both
34+
- npm run test:slow
3635

3736
# http://help.appveyor.com/discussions/questions/1310-delete-cache
3837
cache:

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@
99
},
1010
"scripts": {
1111
"start": "bin/ember-cli-update.js",
12-
"test": "npm run test:both",
13-
"test:both": "npm run test:bin && npm run test:command",
14-
"test:bin": "cross-env DEBUG=ember-cli-update,boilerplate-update,git-diff-apply,git-fixtures mocha \"test/!(fixtures)/**/!(ember-addon)-test.js\"",
15-
"test:command": "cross-env DEBUG=ember-cli-update,boilerplate-update,git-diff-apply,git-fixtures,ember-cli-addon-tests mocha test/acceptance/ember-addon-test.js",
12+
"test": "cross-env DEBUG=ember-cli-update,boilerplate-update,git-diff-apply,git-fixtures,ember-cli-addon-tests mocha \"test/!(fixtures)/**/*-test.js\"",
13+
"test:fast": "cross-env DEBUG=ember-cli-update,boilerplate-update,git-diff-apply,git-fixtures mocha \"test/+(integration|unit)/**/*-test.js\"",
14+
"test:slow": "cross-env DEBUG=ember-cli-update,boilerplate-update,git-diff-apply,git-fixtures,ember-cli-addon-tests mocha test/acceptance/**/*-test.js",
1615
"posttest": "npm run lint",
1716
"prelint": "eslint --version",
1817
"lint": "eslint . --ext js,json",

0 commit comments

Comments
 (0)