.travis.yml
---
language: node_js
node_js:
# we recommend testing addons with the same minimum supported node version as Ember CLI
# so that your addon works for all apps
- "6"
sudo: false
dist: trusty
addons:
chrome: stable
cache:
directories:
- $HOME/.npm
env:
global:
# See https://git.io/vdao3 for details.
- JOBS=1
jobs:
fail_fast: true
allow_failures:
- env: EMBER_TRY_SCENARIO=ember-canary
include:
# runs linting and tests with current locked deps
- stage: "Tests"
name: "Tests"
script:
- npm run lint:hbs
- npm run lint:js
- npm test
# we recommend new addons test the current and previous LTS
# as well as latest stable release (bonus points to beta/canary)
- stage: "Additional Tests"
env: EMBER_TRY_SCENARIO=ember-lts-2.16
- env: EMBER_TRY_SCENARIO=ember-lts-2.18
- env: EMBER_TRY_SCENARIO=ember-release
- env: EMBER_TRY_SCENARIO=ember-beta
- env: EMBER_TRY_SCENARIO=ember-canary
- env: EMBER_TRY_SCENARIO=ember-default-with-jquery
- stage: NPM release
script: skip
node_js: "6"
deploy:
provider: npm
email: uni_que@me.com
api_key:
secure: honjyqAITS6ZR62Eni3WTUaDhUNR+QtZhRhKNuHeLihFJOKOqEOVGSZ10Ar/g+tFBQfFF6saYWzTYLBd1bP6DzwMn9nnS8UOOo0PF6CrbMWhNmvpHQlFNfzT/Es0qRz/3pFi1+9FeLcWlHC/Cd3tZxRRYAkxPgs6mBS3RjzP9PA1iMvygVnn1SNu+nc9oiGa7NwsFOEY0P3YnZpru38ibf6FCAXrMrPFKK93w0iWUgKOHtbyRTcU30ZD90YsAUF5++6TaJ9fEqJrGeRefIVjAycVLNnnTES84GFpIJYQ9mszY8o/KLYUxMx1pA+0vEDdtj6tpwI6QCK9BrrmpiUxHqym5nFIvlAGvAJ+3P52SaAIVZG95/ZspSPmcXsmXOyPlZX/A0DQ67uRm7pffoFpve4XKxR75xTtTrDOVAX2EiZX3fOVP6fZ/5x1e+YYJDoIkmmvW4844DoO5LlCJx1f4qGm7kF+WcsdCyFZAn59ATHqXck4lJYlbI5aQMWjmUsTpKFHuxH/UdFVbLy0m2RvH0w7KXZLduv9FoQmJEXtR/Ui67hmMw083vVMpb3IRZoPLHgBYYdvHl+7GgPS1lDNV6v9gO+wwX/cVs5zwr7LaliLxOJgqdiheMQIo7oCaMjcG55Z3uPfh4Drcs9ZSDrbfJlYokklwliFsKyyivvemqo=
on:
tags: true
repo: aklkv/ember-cli-deploy-raygun
before_install:
- npm config set spin false
script:
- node_modules/.bin/ember try:one $EMBER_TRY_SCENARIO