forked from emberjs/ember.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
108 lines (86 loc) · 2.77 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
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 test
- 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 test
env: TEST_SUITE=each-package-tests
- name: Linting
script:
- yarn lint
- stage: additional tests
name: Browserstack Tests (Safari, Edge, IE11)
script:
- yarn ember build -prod
- yarn test:browserstack
- env:
- TEST_SUITE=built-tests
- EMBER_ENV=production
- env: TEST_SUITE=old-jquery-and-extend-prototypes
- 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 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,EMBER_GLIMMER_ANGLE_BRACKET_BUILT_INS,EMBER_GLIMMER_ANGLE_BRACKET_NESTED_LOOKUP,EMBER_NATIVE_DECORATOR_SUPPORT,EMBER_GLIMMER_FORWARD_MODIFIERS_WITH_SPLATTRIBUTES
- PUBLISH=true
script:
- "./bin/publish_builds"