Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(circle): migrate to
circle-ci
(#4)
* ci(bithound): remove config * ci(travis): remove config * ci(appveyor): remove config * ci(codedov): remove config * ci(circle): add config * build(npm): update scripts, deps * refactor: update .gitignore * docs: update README
- Loading branch information
Burak Tasci
committed
Sep 4, 2017
1 parent
b07befc
commit 9b40631
Showing
8 changed files
with
47 additions
and
87 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
version: 2 | ||
jobs: | ||
build: | ||
docker: | ||
- image: circleci/node:7 | ||
branches: | ||
only: master | ||
steps: | ||
- checkout | ||
- run: | ||
name: Update yarn | ||
command: 'sudo npm install -g yarn@latest' | ||
- restore_cache: | ||
keys: | ||
- deps-{{ .Branch }}-{{ checksum "yarn.lock" }} | ||
- deps- | ||
- run: | ||
name: Install dependencies | ||
command: yarn | ||
- save_cache: | ||
key: deps-{{ .Branch }}-{{ checksum "yarn.lock" }} | ||
paths: 'node_modules' | ||
- run: | ||
name: Rollup build | ||
command: yarn build | ||
- run: | ||
name: Test & coverage | ||
command: yarn test.ci | ||
- store_artifacts: | ||
path: test-report.xml | ||
prefix: tests | ||
- store_artifacts: | ||
path: coverage | ||
prefix: coverage | ||
- store_artifacts: | ||
path: dist | ||
prefix: dist | ||
- store_test_results: | ||
path: test-report.xml | ||
- run: bash <(curl -s https://codecov.io/bash) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters