Skip to content

Commit 8d4b1dc

Browse files
committed
fix: Update package.json to use test-ci.sh script
1 parent bb7adb8 commit 8d4b1dc

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ node_js:
99
- "3.3"
1010
- "0.10"
1111
script: npm run test:ci
12+
after_success:
13+
- curl -Lo travis_after_all.py https://raw.githubusercontent.com/contentful/travis_after_all/master/travis_after_all.py
14+
- python travis_after_all.py
15+
- cat ./coverage/lcov.info | ./node_modules/.bin/coveralls
16+
- export $(cat .to_export_back) &> /dev/null
17+
- npm run semantic-release
1218
addons:
1319
sauce_connect: true
1420
branches:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"docs:dev": "npm run build && npm run docs:build",
2222
"docs:watch": "watchy -w lib npm run docs:dev",
2323
"docs:publish": "npm run docs:build && ./node_modules/contentful-sdk-jsdoc/bin/publish-docs.sh contentful-management.js contentfulManagement",
24-
"test:ci": "npm run test:cover && npm run build && npm run test:integration && ./node_modules/contentful-sdk-core/bin/run-if-node-version.js && npm run test:browser-remote || true",
24+
"test:ci": "./node_modules/contentful-sdk-core/bin/test-ci.sh",
2525
"test:cover": "BABEL_ENV=test babel-node ./node_modules/istanbul/lib/cli.js cover test/runner",
2626
"test:only": "BABEL_ENV=test babel-node ./test/runner",
2727
"test:debug": "BABEL_ENV=test babel-node debug ./test/runner",

0 commit comments

Comments
 (0)