forked from mozilla/brackets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (52 loc) · 1.7 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
language: node_js
sudo: false # use container-based Travis infrastructure
node_js:
- "6"
before_script:
- npm install -g grunt-cli
script: grunt build-browser-compressed
branches:
only:
- master
- production
env:
global:
- CXX=g++-4.8
- secure: OvDWteGJ/ctOzXudDb8icaLCtdJTd1HbQq5T9HvS7ZF8IDs6xM+atqxYWeyC+2sm7fLNkWjndcKrXFqZ3TRltW7ibaKreUMtUVaVKc7mGBNBn/gVfCNvHRlbDYr6bMUVapk9x1Ql6p2jE/Ss+p2EEGkzvHPKn2RMRWOQQQM7wTQ=
matrix:
- AWS_ACCESS_KEY_ID=AKIAI7XHSZFYVHFRTRIA CLOUDFRONT_DISTRIBUTION_ID=ENS8DUD0WOHD9
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
deploy:
- provider: s3
access_key_id: AKIAI7XHSZFYVHFRTRIA
secret_access_key:
secure: XFKkzJRsjVXShcDrTdihLug1CZjr3s/2rSpQrzQnkl2ChM+waydLqd8jHrfkIUl6np2pxO8JU3HWe9AYfuTMdNhWijQS2E1xesUTTK9KQaPdu5mhe98AkCu/rziAv485To4hze0om8GHyREUR1cOxalYVflupZtHIkKzQgbF8AY=
bucket: mozillathimblelivepreview-net-s3bucket-l1armm3pssk5
local-dir: dist
upload-dir: bramble/staging/dist
skip_cleanup: true
detect_encoding: true
on:
repo: mozilla/brackets
branch: master
condition: $UPDATE_STRINGS != true
- provider: s3
access_key_id: AKIAI7XHSZFYVHFRTRIA
secret_access_key:
secure: XFKkzJRsjVXShcDrTdihLug1CZjr3s/2rSpQrzQnkl2ChM+waydLqd8jHrfkIUl6np2pxO8JU3HWe9AYfuTMdNhWijQS2E1xesUTTK9KQaPdu5mhe98AkCu/rziAv485To4hze0om8GHyREUR1cOxalYVflupZtHIkKzQgbF8AY=
bucket: mozillathimblelivepreview-net-s3bucket-l1armm3pssk5
local-dir: dist
upload-dir: bramble/production/dist
skip_cleanup: true
detect_encoding: true
on:
repo: mozilla/brackets
branch: production
condition: $UPDATE_STRINGS != true
after_deploy:
- node invalidate.js