Skip to content

Commit

Permalink
chore: use yarn in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn committed May 18, 2017
1 parent f531204 commit f70a6df
Show file tree
Hide file tree
Showing 4 changed files with 437 additions and 433 deletions.
7 changes: 0 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,5 @@ language: node_js
node_js:
- "6"

cache:
directories:
- node_modules # NPM packages

install:
- npm install

script:
- "npm run build_all"
1 change: 1 addition & 0 deletions .yarnrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
registry "https://registry.npmjs.org"
10 changes: 10 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
machine:
environment:
PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
node:
version: 6

dependencies:
override:
- yarn
cache_directories:
- ~/.cache/yarn

test:
override:
- yarn test
post:
- npm run build_cjs && npm run check_circular_dependencies
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
Expand Down
Loading

0 comments on commit f70a6df

Please sign in to comment.