forked from emberjs/ember.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
105 lines (85 loc) · 2.65 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
language: node_js
dist: trusty
node_js:
- "10"
addons:
firefox: "latest"
cache:
directories:
- $HOME/.yarn-cache
before_install:
- |
export DISPLAY=:99.0
sh -e /etc/init.d/xvfb start
sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg
echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update -qq
sudo apt-get install -y -qq yarn
yarn --version
# install the most recent `npm version`
# used when publishing to build a properly packed tarball
npm i -g npm
install:
- |
yarn install
branches:
only:
- master
- beta
- release
# npm version tags
- /^v\d+\.\d+\.\d+/
stages:
- basic test
- additional tests
- name: deploy
if: type IN (push)
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=
jobs:
fail_fast: true
include:
- stage: basic test
env: TEST_SUITE=each-package-tests
- env: TEST_SUITE=code-quality
script:
# avoiding `yarn test` here because pretest does a build, which isn't needed
- node bin/run-tests.js
- stage: additional tests
env: TEST_SUITE=browserstack
- env:
- TEST_SUITE=built-tests
- EMBER_ENV=production
- env: TEST_SUITE=old-jquery-and-extend-prototypes
- env: TEST_SUITE=node
node_js: "6"
- env: TEST_SUITE=blueprints
node_js: "6"
- env: TEST_SUITE=travis-browsers
- env:
- TEST_SUITE=each-package-tests
- BUILD_TYPE=alpha
- stage: deploy
env:
- BUILD_TYPE=canary
- PUBLISH=true
script:
- "./bin/publish_builds"
- env:
- BUILD_TYPE=alpha
- PUBLISH=true
script:
- "./bin/publish_builds"