forked from ember-intl/ember-intl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
48 lines (41 loc) · 1.76 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
language: node_js
node_js:
- "0.12"
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:
- EMBER_TRY_SCENARIO=default
- EMBER_TRY_SCENARIO=ember-1.13
- 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