Skip to content

Commit

Permalink
Merge pull request #285 from Turbo87/yarn
Browse files Browse the repository at this point in the history
Use yarn instead of npm
  • Loading branch information
Turbo87 authored Oct 14, 2017
2 parents ae0509b + 4483a3b commit 52e7d17
Show file tree
Hide file tree
Showing 5 changed files with 5,429 additions and 8,817 deletions.
13 changes: 6 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,14 @@ addons:
chrome: stable

cache:
directories:
- $HOME/.npm

yarn: true

branches:
only:
- master
- /^v\d+\.\d+\.\d+$/
- /^greenkeeper.*$/


env:
# we recommend new addons test the current and previous LTS
# as well as latest stable release (bonus points to beta/canary)
Expand All @@ -41,9 +38,11 @@ matrix:
- env: EMBER_TRY_SCENARIO=ember-canary

before_install:
- npm config set spin false
- npm install -g npm@4
- npm --version
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH

install:
- yarn install --no-lockfile

script:
# Usually, it's ok to finish the test scenario without reverting
Expand Down
1 change: 1 addition & 0 deletions config/ember-try.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* eslint-env node */
module.exports = {
useYarn: true,
scenarios: [
{
name: 'ember-2.0',
Expand Down
Loading

0 comments on commit 52e7d17

Please sign in to comment.