.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
branches:
only:
- master
# npm version tags
- /^v\d+\.\d+\.\d+/
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.18
- env: EMBER_TRY_SCENARIO=ember-lts-3.4
- 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
before_install:
- npm config set spin false
- npm install -g npm@4
- npm --version
notifications:
email: false
slack:
secure: "eyIpwsfZvW1aU7LoyhPAdM2ltCYtDXKnnvMsAxJ8po8/UliBoQVWJiCUdjw2i8DdGQVTppIM9M93GADJ7kjahJftVDjcvmf5vBUgXDtWrbZ2C68iNSLsqSmy/W49sQJ8gv8b4K/Q/LKJevCDqu6CYf2RPda6RmQtkRWdyXx7pgpy+qLMBYPtOzIdAjaZcwkw8tN6lZBduBNXRHFV8ym+87oBMp7dARCioqzR30HwN23HWqrX7Fl9u7NYTc8GCt5YDqryec+i6/U0hhFi7gj0LPO7217UCps9e/3CBAQ4Ybpc4H3p+3Ya84RZbky/taBNQWgWU+rVR7AktMtQXpe5nLX8vbquJC3GThAzcSPsqE5Drs4jXhsXEvEDXWd2N9iDEpEy4IbJ0D7DTIz7A3hzwoJvzlvIArwZG4lKubgDDJCp9tKKPanx2ZlbfT5U7iqq/egD3a8UztomCXS1Nea7tGsylX2I5H+vePy8NK5jUic74Zx5uDQIdxgVj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