forked from honestbleeps/Reddit-Enhancement-Suite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (38 loc) · 880 Bytes
/
.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
sudo: false
language: node_js
node_js:
- 6
script:
- npm run eslint
- npm run sass-lint
- npm run coverage
- npm run build -- all
- npm run jpm -- xpi
- npm run jpm-beta -- xpi
- node dist/node/loader.entry.js
after_success:
- npm run report-coverage
branches:
only:
- master
- /^v[0-9]/
deploy:
- provider: releases
api_key:
secure: F0CNYZBoZbLiZDm+KkIpX/FjWhwUKMQs4O+bg6EUT32GOb17ed1HBS1Dw9DCTClyydEkhtCMZTFHQUbfNhlU7xkZxy8J/Ac9UykngVmjJBz3+ZKmbGsokjwCm8r08VCMzB0AJrvIodRwegzg9J5muXvMGNBzKxi7Q7XiNsxLNDc=
prerelease: true
file:
- dist/zip/chrome.zip
- dist/zip/edge.zip
- dist/zip/firefox.zip
- dist/zip/RES.safariextension.zip
skip_cleanup: true
on:
tags: true
node: 6
- provider: script
script: node build/deploy.js
skip_cleanup: true
on:
tags: true
node: 6