forked from ember-learn/ember-cli-addon-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
79 lines (65 loc) · 2.41 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
---
language: node_js
node_js:
- "8"
sudo: true
dist: trusty
addons:
chrome: stable
cache:
yarn: true
env:
global:
# See https://git.io/vdao3 for details.
- JOBS=1
install:
- yarn install
script:
- yarn lint:js
# We need to cleanup, since our deploy depends on the git repo's status
- node_modules/.bin/ember try:one $EMBER_TRY_SCENARIO
notifications:
email: false
jobs:
fail_fast: true
include:
- stage: locked dependencies
env: NAME=browser tests
script: yarn test:browser
- env: NAME=node tests
script: yarn test:node
- env: NAME=test-apps tests
script: yarn test:test-apps
- stage: floating dependencies
env: NAME=browser tests
install: yarn install --no-lockfile --non-interactive
script: yarn test:browser
- env: NAME=node tests
install: yarn install --no-lockfile --non-interactive
script: yarn test:node
- env: NAME=test-apps tests
install: yarn install --no-lockfile --non-interactive
script: yarn test:test-apps
- stage: versioned tests
env: EMBER_TRY_SCENARIO=ember-lts-2.12
- env: EMBER_TRY_SCENARIO=ember-lts-2.18
- env: EMBER_TRY_SCENARIO=ember-release
- env: EMBER_TRY_SCENARIO=ember-beta
- env: EMBER_TRY_SCENARIO=ember-canary
- stage: deploy
if: (branch = master OR tag IS present) AND type = push
env: NAME=deploy
script: node_modules/.bin/ember deploy production
- stage: npm publish
install: skip
script: skip
deploy:
provider: npm
email: [email protected]
api_key:
secure: kgNMxKYw1kI+Wzz6YPbAoNw3T0Q7nXDsyIFiIp3SurBtkVBm66LmAFSoUI/yESAYTJ/PguyqQGkIlQ9022kwBRgUAXSSeU63QyESiTULj5EGewn/fVnj2RF2z5KC2tg0rEpqVkPgZpecT4Khkm13eQwViJYEsKlnu3IQhmi8pN6hIcffXMEa+Yjk9m4cAXcGXplXGzVVA8vg70+zxZ9RDKk8SIJe2x+s6ZffQRQ4E0fpJQ399hlZceiQ1Heh7fsWGR+ewHPGnuMNKvg/NEiksiS0T+HCf+XIXi16xzwk3/An+6sRuFmNEVRaMx/rlNHiJg2rUQlNKjQ1AZ+SIV58rT2Nyyx4vdTMVooKALv+zNwLqrEcvkbRZ3DHqvTCBWqz9qFBYDSfHL9ylyNW0VBlHxyOCx9OJN6F6H7Qpa91cnzmMXi0RWQbVoXLORnW/eckcCJmyDjlnK8YgLbop+vBGcbhFxTOzXbUOqauwJ6K8j5rMmdcuHgc0eIMqZq7MRxflnKqBWH3rbyiRRCN0DnNkhjUIbPwioTINBRSdRXy1b1LIqflq6MG9UzBaTPIlPUe3l4pyX4cIbgTJPJSTQCOVhoTH+gj7fwG2mVDhyXAn6KJzw9BHvb5CiIaqR15XuHxQWoPVXBbwzgga36Y77rGGQ8Jq+NIqFwiUxeU8UithJU=
on:
tags: true
repo: ember-learn/ember-cli-addon-docs
allow_failures:
- env: EMBER_TRY_SCENARIO=ember-canary