<NME> .travis.yml
<BEF> ---
language: node_js
node_js:
node_js:
  - 6

install:
  - npm install -g bower
  - npm install
  - bower install

script:
  - npm test

deploy:
  - provider: npm
    # we recommend new addons test the current and previous LTS
    # as well as latest stable release (bonus points to beta/canary)
    - EMBER_TRY_SCENARIO=ember-lts-3.4
    - EMBER_TRY_SCENARIO=ember-lts-3.8
    - EMBER_TRY_SCENARIO=ember-release
    - EMBER_TRY_SCENARIO=ember-beta
    - EMBER_TRY_SCENARIO=ember-canary
    - EMBER_TRY_SCENARIO=ember-default

matrix:
  fast_finish: true
  allow_failures:
    - env: EMBER_TRY_SCENARIO=ember-canary

before_install:
  - curl -o- -L https://yarnpkg.com/install.sh | bash
  - export PATH=$HOME/.yarn/bin:$PATH

install:
  - yarn install --no-lockfile --non-interactive

script:
  - yarn lint
  - yarn ember try:one $EMBER_TRY_SCENARIO

before_deploy:
  - yarn global add auto-dist-tag@0.1
  - auto-dist-tag --write

deploy:
  - provider: npm
    email: stefan.penner+ember-cli@gmail.com
    api_key:
      secure: PQRsq4JcFYPXOqov1jwPw63WnwYYpyKby/2akUjq8PHwwgCDEt34Z8yqQdJogqKmKRjijsiWu+b54fbIpZ6TMvqPL18F8FbCl6e2zoAY55VUmmVkx9wkvuPydTDs2fuPqk6LFvmIMiq+pjEPlSeWg3GpFSkFjfs0WZlO33xMyWw=
    skip_cleanup: true
    on:
      tags: true
      repo: emberjs/ember-mocha

<MSG> CI: Use yarn instead of npm

<DFF> @@ -4,13 +4,20 @@ language: node_js
 node_js:
   - 6
 
+cache:
+  yarn: true
+
+before_install:
+  - curl -o- -L https://yarnpkg.com/install.sh | bash
+  - export PATH=$HOME/.yarn/bin:$PATH
+  - yarn global add bower
+
 install:
-  - npm install -g bower
-  - npm install
+  - yarn install --no-lockfile
   - bower install
 
 script:
-  - npm test
+  - yarn test
 
 deploy:
   - provider: npm

CI: Use yarn instead of npm