Permalink
Fetching contributors…
Cannot retrieve contributors at this time
50 lines (42 sloc) 1.85 KB
---
language: node_js
node_js:
- "4"
sudo: false
cache:
directories:
- packages/ember-intl/node_modules
- packages/ember-intl-format-cache/node_modules
- packages/ember-intl-messageformat/node_modules
- packages/ember-intl-messageformat-parser/node_modules
- packages/ember-intl-relativeformat/node_modules
env:
# we recommend testing LTS's and latest stable release (bonus points to beta/canary)
- EMBER_TRY_SCENARIO=ember-1.13
- EMBER_TRY_SCENARIO=ember-lts-2.4
- EMBER_TRY_SCENARIO=ember-release
- EMBER_TRY_SCENARIO=ember-beta
- EMBER_TRY_SCENARIO=ember-canary
matrix:
fast_finish: true
allow_failures:
- env: EMBER_TRY_SCENARIO=ember-canary
before_install:
- npm config set spin false
- npm install -g bower
- bower --version
- npm install phantomjs-prebuilt
- node_modules/phantomjs-prebuilt/bin/phantomjs --version
install:
- cd $TRAVIS_BUILD_DIR/packages/ember-intl && npm install && bower install
- cd $TRAVIS_BUILD_DIR/packages/ember-intl-format-cache && npm install && bower install
- cd $TRAVIS_BUILD_DIR/packages/ember-intl-messageformat && npm install && bower install
- cd $TRAVIS_BUILD_DIR/packages/ember-intl-messageformat-parser && npm install && bower install
- cd $TRAVIS_BUILD_DIR/packages/ember-intl-relativeformat && npm install && bower install
script:
- cd $TRAVIS_BUILD_DIR/packages/ember-intl && npm run tests-node
- cd $TRAVIS_BUILD_DIR/packages/ember-intl && ember try $EMBER_TRY_SCENARIO test
- cd $TRAVIS_BUILD_DIR/packages/ember-intl-format-cache && ember try $EMBER_TRY_SCENARIO test
- cd $TRAVIS_BUILD_DIR/packages/ember-intl-messageformat && ember try $EMBER_TRY_SCENARIO test
- cd $TRAVIS_BUILD_DIR/packages/ember-intl-messageformat-parser && ember try $EMBER_TRY_SCENARIO test
- cd $TRAVIS_BUILD_DIR/packages/ember-intl-relativeformat && ember try $EMBER_TRY_SCENARIO test