forked from ember-animation/ember-animated
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
89 lines (77 loc) · 2.87 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
---
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
- "10"
dist: xenial
addons:
chrome: stable
cache:
yarn: true
env:
global:
# See https://git.io/vdao3 for details.
- JOBS=1
jobs:
fast_finish: true
allow_failures:
- env: EMBER_TRY_SCENARIO=ember-canary
- env: EMBER_TRY_SCENARIO=ember-beta
include:
# runs linting and tests with current locked deps
- stage: Tests
name: Library Tests
script:
- yarn run lint:hbs
- yarn run lint:js
- yarn run typecheck
- yarn test
- name: Docs Tests
install:
- yarn install --production
- cd docs
# absurdly, yarn seems to fail reliably on the first try and succeed on
# the second
- until yarn install; do echo "Retrying yarn"; done
script:
- yarn lint
- yarn test:ember
- stage: "Additional Tests"
name: "Floating Dependencies"
install:
- npm install --no-package-lock
script:
- yarn test:ember
# 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-3.8
- env: EMBER_TRY_SCENARIO=ember-lts-3.12
- env: EMBER_TRY_SCENARIO=ember-lts-3.16
- 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
- env: EMBER_TRY_SCENARIO=ember-classic
- stage: Deploy
if: (branch = master or tag is present or branch = split-docs) and type = push
install:
- yarn install --production
- cd docs
- yarn
script:
- node_modules/.bin/ember deploy production --verbose
- stage: npm release
install: skip
script: skip
deploy:
provider: npm
email: [email protected]
api_key:
secure: Ww+4XjqUHuJMsemYS2LhvPJcd4m0280xEXmXTshp++D0ldMExZebOkmThGwcWNqSL1xXZLxRu2FGvxyn81qZ78L6u9Jyr/1LjIHQ1tBOF1qdWfHErtrAvromoWv8NDps741/7ymeOADabTgz/ow42DvS7HPGuyhfCIePTewyoTu5t2a7EBD2ltQisosM0eseWeIXVkHu84aG43L14iesXO3DvjNbQbGHxqSSfwylgr7syv5LK58WISlOW9F2k1E9LOKj+CH7JrgThs1NwCdfny60k+5eFm/ni+UQdynuqYKBI722nElKqNRmxRa/tGEg6jUpy6SADBqzDaRHS+tulzQybVU9V0ZyL/RDlng+IQiS8Ngd3eil/EGcyLFZEiFgRfynDWuxP9AvTpTR2bX+NHz6fYWMvVlfa2kz7rV6xjLruO76rw4oSAkj/0v9plwnqY/NBWbRtjweSu+LyN5vTWEMr3Uw6kxTOnbVnUfYgfS8Cs/OqzuA0Es1iedOkGXbPtAzjxQE/T+RRJ5Ot71fzFl2U+QBaG4KfAX5E5FhVNH/sjZ5yXzemk2UiS8fJ2mfuUMb5/QQZ7MI4hJRbnzYa6dSfYLSBFnHQAnVsIlKUXmFv4cdOMYynoMQm8wkJB42TOvVhgaT8/Ib3+zx6zP+k7RFnvV29K7swVyIsEYt6QI=
on:
tags: true
repo: ember-animation/ember-animated
script:
- node_modules/.bin/ember try:one $EMBER_TRY_SCENARIO