Skip to content

Commit

Permalink
update to yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanpenner committed May 15, 2017
1 parent 2c55a73 commit dd08392
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
11 changes: 6 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@ cache:
yarn: true

install:
- npm install
- yarn
- yarn add phantomjs-prebuilt
- ./node_modules/.bin/bower install
script:
- ./bin/lint-features
- npm run-script test
- npm run-script test:optional-features
- npm run-script test:production
- npm run-script node-tests
- yarn run test
- yarn run test:optional-features
- yarn run test:production
- yarn run node-tests
after_success:
- yarn run production
- "./bin/publish-builds"
Expand Down
5 changes: 1 addition & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,12 @@ install:
- set path=%path%;C:\ProgramData\chocolatey\lib\PhantomJS\tools\
# Typical npm stuff.
- md C:\nc
- appveyor-retry npm install -g npm@^3
- appveyor-retry yarn
- appveyor-retry yarn install
# Workaround https://github.com/npm/npm/wiki/Troubleshooting#upgrading-on-windows
- yarn version
- yarn run bower
# Post-install test scripts.
test_script:
# Output useful info for debugging.
- npm version
- cmd: yarn run test
- cmd: yarn run test:optional-features
- cmd: yarn run test:production
Expand Down

0 comments on commit dd08392

Please sign in to comment.