Skip to content

Commit 1c4b371

Browse files
committed
chore(*): simplify travis configuration
1 parent 5c6b2dd commit 1c4b371

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.travis.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,8 @@ language: node_js
22
node_js:
33
- "6.10"
44

5-
before_script:
6-
- npm install -g jest-cli
7-
85
script:
9-
- npm run test:ci
6+
- yarn test
107

118
git:
129
depth: 10

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
"typings": "lib/index.d.ts",
77
"jsnext:main": "lib-esm/index.js",
88
"scripts": {
9-
"test": "jest --watch",
10-
"test:ci": "NODE_ENV=production jest --silent",
9+
"test": "NODE_ENV=production jest --silent",
1110
"start": "cross-env NODE_ENV=development webpack-dev-server --host 0.0.0.0 --port 8000 --config ./examples/typescript/webpack.config.js --history-api-fallback --content-base examples/typescript",
1211
"clean": "shx rm -rf _bundles lib lib-esm build",
1312
"compile": "npm run clean && tsc && tsc -m es6 --outDir lib-esm",

0 commit comments

Comments
 (0)