Skip to content

Commit

Permalink
Merge pull request #4 from willmendesneto/wmendesneto/improving-circl…
Browse files Browse the repository at this point in the history
…e-ci

ci(circleci): improving circle ci pipeline
  • Loading branch information
willmendesneto committed Oct 16, 2019
2 parents d0d9af0 + 33ce4c8 commit 7731022
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 20 deletions.
3 changes: 1 addition & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ jobs:
- run:
name: Running unit tests
command: |
sudo yarn test
sudo yarn coveralls
sudo yarn test:ci
bundle_size:
<<: *docker_defaults
steps:
Expand Down
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,14 @@
},
"scripts": {
"compile": "tsc",
"build": "npm run compile && babel lib --out-dir lib && npm run build-min && npm run generate-banner",
"build": "yarn compile && babel lib --out-dir lib && yarn build-min && yarn generate-banner",
"build-min": "uglifyjs lib/perf-marks.js --comments '/!/' -m --screw-ie8=true -c unused=false -o lib/perf-marks.min.js",
"pretest": "npm run lint",
"pretest": "yarn lint",
"test": "jest",
"pretest:ci": "yarn lint",
"test:ci": "jest --coverage --coverageReporters=text-lcov | coveralls",
"check-coverage": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf coverage",
"prepublish": "npm run build",
"prepublish": "yarn build",
"generate-banner": "node ./scripts/generate-banner.js",
"bundlesize": "bundlesize",
"lint": "eslint '{scripts,src}/**/*.ts'",
Expand All @@ -78,7 +80,7 @@
},
"lint-staged": {
"*.{js,ts,tsx}": [
"npm run lint:fix",
"yarn lint:fix",
"git add"
]
}
Expand Down

0 comments on commit 7731022

Please sign in to comment.