Skip to content

Commit 7a7e55d

Browse files
authored
Merge pull request #411 from CraveFood/improve-travis-jest
Travis_wait and different options for Jest
2 parents 8d32087 + dff13e4 commit 7a7e55d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ install:
2828
script:
2929
- yarn lint .
3030
- yarn lint.test .
31-
- yarn coverage
31+
- travis_wait yarn coverage
3232
- greenkeeper-lockfile-upload
3333
after_success:
3434
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > /home/travis/.npmrc

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"lint.test":
1515
"eslint -c .test.eslintrc.js --ignore-path .test.eslintignore",
1616
"coverage":
17-
"yarn test --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
17+
"yarn test --runInBand --ci --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
1818
"commit": "git-cz",
1919
"storybook": "start-storybook -p 6006 -s .storybook/assets",
2020
"build-storybook": "build-storybook -s .storybook/assets -o docs",

0 commit comments

Comments
 (0)