forked from emberjs/ember.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
125 lines (102 loc) · 3.13 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
branches:
only:
- master
- beta
- release
# release branches
- /^(?:release|lts)-\d+-\d+$/
# npm version tags
- /^v\d+\.\d+\.\d+/
language: node_js
node_js:
- "10"
addons:
firefox: "latest"
env:
global:
- BROWSERSTACK_USERNAME=emberjscoreteam1
- BROWSERSTACK_ACCESS_KEY=YsPxXKcahx9XszyHS2Gr
- DISABLE_SOURCE_MAPS=true
- BROCCOLI_ENV=production
- S3_BUCKET_NAME=builds.emberjs.com
- secure: "SHnuJ4A3QbSc3LV2fYynDPbbSbhVl0ZWnCiKPuRgwnddDnoSaMQUY2RqyHdtsQGdUZCOeNaMvYUhYx6hzxBVHn0yuN3KA20aSwvYdwaMgZXfJi+lyxgsEI8iYdksWXvVbCAyKM8zjTWXUtNcMBGtsGYOfdD41wfZgI8GsI0YYJc="
- secure: ! 'KXJmcGLpnxnPmmei/qPNVcdQxLX1xyYIaVocinQ0YAjtBvCtAwg63EWMFnGp
VIzUNikE+Cej3g+nwEdDJiL1c9NFPL+zCnriR2iMVjPak+IQaG3YcMm0T+hY
/WLEPAquZBKw1gU6lBEUuDumTlkXQQdHz3cJYoidAXz3uV1EXIU='
- secure: ! 'qCW0BVNFuQjAI53pvvE6oeGxtEdZ+RlvcCpYjU4vxEjedidEEcHKtIVh7d7J
PZ8DNTxX0zsp2jjY8NwTR5MC8NBH+J5VjuTSGv82t5sm0i0jzaBmOOSLbKqH
I/BFT0MbnR6JVCZiPV7TCWPgY1gvgZ6TEEIKGqauDMUBdL8ZK6I='
- secure: e0yxVfwVW61d3Mi/QBOsY6Rfd1mZd3VXUd9xNRoz/fkvQJRuVwDe7oG3NOuJ4LZzvMw7BJ+zpDV9D8nKhAyPEEOgpkkMHUB7Ds83pHG4qSMzm4EAwBCadDLXCQirldz8dzN5FAqgGucXoj5fj/p2SKOkO6qWIZveGr8pdBJEG1E=
matrix:
fast_finish: true
cache:
yarn: true
stages:
- basic tests
- additional tests
- name: deploy
if: type IN (push)
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
# install the most recent `npm version`
# used when publishing to build a properly packed tarball
- npm i -g npm
install:
- yarn install --frozen-lockfile --non-interactive
jobs:
include:
- stage: Basic Tests
name: Debug and Prebuilt (All Tests by Package + Canary Features + Optional Jquery)
env: TEST_SUITE=each-package
script:
- yarn ember build
- yarn test
- name: Linting
script:
- yarn lint
- stage: Additional Tests
name: Browserstack Tests (Safari, Edge, IE11)
env: SHOULD_TRANSPILE=true
script:
- yarn ember build
- yarn test:browserstack
- name: Production (All Tests + Canary Features)
script:
- yarn ember build -prod
- yarn test
- name: Production (All Tests + Canary Features + Debug Render Tree)
env: DEBUG_RENDER_TREE=true
script:
- yarn ember build -prod
- yarn test
- name: Old Jquery and Extend Prototypes
env: TEST_SUITE=old-jquery-and-extend-prototypes
script:
- yarn ember build
- yarn test
- name: Node.js Tests
node_js: "8"
script:
- yarn ember build -prod
- yarn test:node
- name: Blueprint Tests
node_js: "8"
script:
- yarn test:blueprints
- name: Browser Tests (Firefox)
script:
- yarn ember build
- yarn ember test -c testem.travis-browsers.js
- stage: deploy
env:
- PUBLISH=true
script:
- "./bin/publish_builds"
- if: branch = master
env:
- BUILD_TYPE=alpha
- OVERRIDE_FEATURES=EMBER_METAL_TRACKED_PROPERTIES
- PUBLISH=true
script:
- "./bin/publish_builds"