forked from adopted-ember-addons/ember-collection
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (35 loc) · 1.09 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
---
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
- "4"
sudo: false
dist: trusty
addons:
chrome: stable
firefox: latest
cache:
yarn: true
directories:
- $HOME/.cache # includes bower's cache
env:
- SCENARIO_GROUP_CONFIG_PATH=config/ember-try.js
- SCENARIO_GROUP_CONFIG_PATH=config/ember-try/channels.js
- SCENARIO_GROUP_CONFIG_PATH=config/ember-try/releases.js
- SCENARIO_GROUP_CONFIG_PATH=config/ember-try/allowed-failures.js
matrix:
fast_finish: true
allow_failures:
- env: SCENARIO_GROUP_CONFIG_PATH=config/ember-try/allowed-failures.js
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
- yarn global add bower
install:
- yarn install --no-lockfile --non-interactive
- bower install
script:
# Usually, it's ok to finish the test scenario without reverting
# to the addon's original dependency state, skipping "cleanup".
node_modules/.bin/ember try:each --config-path=$SCENARIO_GROUP_CONFIG_PATH