forked from ember-cli/ember-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
77 lines (64 loc) · 1.5 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
language: node_js
node_js:
- "12"
addons:
chrome: stable
branches:
only:
- master
- beta
- release
- next
# release branches
- /^(?:release|lts)-\d+-\d+$/
# npm version tags
- /^v\d+\.\d+\.\d+/
cache:
yarn: true
directories:
- $HOME/.npm
- $HOME/.cache # includes bower's cache
stages:
- basic test
- additional tests
- name: deploy
if: type IN (push) AND branch = release
jobs:
include:
- stage: basic test
name: Basic Tests
script:
- yarn lint
- yarn test
- stage: additional tests
name: Node.js 8
node_js: 8
- name: Node.js 10
node_js: 10
- name: Node.js 12
node_js: 12
script:
- yarn test:cover
after_success:
- .travis/codecoverage.sh
- env: EMBER_CLI_ENABLE_ALL_EXPERIMENTS=true
- env: EMBER_CLI_PACKAGER=true
- env: EMBER_CLI_MODULE_UNIFICATION=true
- env: EMBER_CLI_DELAYED_TRANSPILATION=true
- env: EMBER_CLI_SYSTEM_TEMP=false
- env: EMBER_CLI_BROCCOLI_WATCHER=true
- stage: deploy
name: Publish API Docs
script: skip
deploy:
provider: script
script: ./.travis/deploy.sh
before_install:
# prevent the npm loading indicator
- npm config --global set spin false
# travis currently includes yarn v0.17.8 (20170705)
# this isn't new enough for our use of --non-interactive
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
script:
- yarn test:all