forked from honestbleeps/Reddit-Enhancement-Suite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
78 lines (78 loc) · 3.83 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
sudo: false
language: node_js
node_js: 7
branches:
only:
- master
- /^v[0-9]/
env:
global:
# CHROME_CLIENT_ID
- secure: CF4N+tG66lh8Ks8OGMpCqVtkCLwBla9gg5NMuLyz96ukOkgIAWUSxFARpL0TaFWrf4LvNyyxzarjlOAf9iN3fGa8KOTuqBzMVthP9HqQhBGhpjZHmCDQJwbvmHauGBKwrkW3rBU44ngM+FxdWQqW4F/oeiNCrHOikzHwNj1l/Y8=
# CHROME_CLIENT_SECRET
- secure: ZiY6l1xbMUGNKHlkNzOrOoZXOrdQxAwQK5WpR+e+F3nTgw7yS26HGhMq8ajFDI/Tk0ZpjSEfev148X93OaZ+njj88uSaDCDS2xbltInAQw+YfigIpGpbssE/CxUwTDjiEE/se+WybqZthpcLydmJbQt/kT6khhhIOFn7EIFknks=
# CHROME_REFRESH_TOKEN
- secure: LfNqGTqtHtRJKrD2TKHKIcfhtEjwuctoGJlt8dAvqo9LuChFh8t7feBObJ/b79v/vZeRsKVn8dExZRz/b4V8NyVc9xT4DgSCuaY3vKfbJ99TRa1vKK+wC5rElhJpBWqosP+rF8cocorXerfWQIst9f9LeGggX0to/hhCJ5RqSkw=
# FIREFOX_ISSUER
- secure: RVoTaF6KaKCTcxuDD0VKTUnQatFgvpw8nzSpzJs/A9RJ0OspmSRCKDFUOvMrwtIs8PRBhYsc84GP/0uhHLwxqLarYDetysTV4tOcTK/VbBCkYdiaf++MBKFChe6l04U1gaQH813yCHkDDiNVqOzO8AYymVjJmTFFHOdUR1eR7CA=
# FIREFOX_SECRET
- secure: dY750kjkoKhqQL7a4E2JnncvMwC4uRkHSP8UzHX92tXbRgKyTFgfekzVExq3gMyNESO/WQh7jUZE5zCM5QnL1q+Xv8hyueHV+piP9imCbw/126Zm0pCsrHVNsBAauqf2CQCE0DyIMADvnPgyANLGe2scz5KuNVZBF/yOJTFK9Kc=
# EDGE_TENANT_ID
- secure: TiWe3fdefeqFTbOxBrBub9KD5uDfvU6DyogTFdhTeD22GwmJY8MkfQUIH1LWIrMmdSRF4qd4hVWd9RlaHXnYDKESpUBdudkwnuv05ikTqv/L+KHIqRYHt1yF17fETjTFvNo9929mOYOL0xjbvHK6j8anaGiaWtzDyaCBZhfb4qQ=
# EDGE_CLIENT_ID
- secure: SwMtDPNzHqk9wBz3z28FCvsx/g4cBZsqDQRRZFHKoAmrjPWCIVA3ufCmkGYP8j5Bl+e9kKd35udn74tU/AFOXCRPL2XmOuJHAVn1gwXTDwk3IhgiNi26ApjKNYV2zKAeSP9h6FZ9220tm8CpMqwQZ8wyekLNbiJ41kQUaggrDok=
# EDGE_CLIENT_SECRET
- secure: kFIQ8Be1Ub0mOnojtoxvCEFTDoYi+CCeMBS/Nl//3ngmrVuFZihMqslzQCqrTFiVCtHnDd7Ddd0I1OL/kQg1qlShhSKYrxxChqtQwr67aZxPuodLPLfpC2NeqURDEb6Eq+wNKWfkNDP3xqQPz1wFpweanoaiQDmZOQDFqESjvy0=
# OPERA_USER
- secure: qDNnqBq0tTuvFd7b39JJB6jHIe6FA8iKFmkuZaiCJXezZaZDOnGTq0ZdFhR+4Zbxvpin2iaJQMaFVsh0J6RE1tZM3D6cyWpwNQDoVrxGFNzpUzddvbVzqsYtTprmttHr1Kq4sA9U66wQgrePWvnPHDViiVXcV0E8NcAutatZVUM=
# OPERA_PASSWORD
- secure: AZeNzWDrEQI7l6vA2675rk+KuTjq7qQ5fN4ndZoXRTwCSLjell2tONuxQHbdJOePwLBE+ow+hfOGUbbzZCwetWfGML1HbngOYVapekPjCTuviErHRwXH0ST2iJ75E5ki3+GE2K3DmlS8DRNr8BehfkjSZkxsev04vameQX+d7c0=
- SAUCE_USERNAME=RES-Auto
- SELENIUM_HOST=ondemand.saucelabs.com
- SELENIUM_PORT=80
addons:
jwt:
# SAUCE_ACCESS_KEY=<secure>
secure: hHF06xHY6pLdxscwYhUHdSRuUH2CPA61AUrvPiW54lnMwwkDvCQakR+aY5HbjptFIfOwkWsS4xoqXH4pZTfhMOji32S/+ELT+AqLdkIgnLYDfBj4RcsZoXyvuiLx29i4PVCnGMikctBp4dM6wORgfd1tu3uwhcoQrBjxCMW1qmY=
cache:
yarn: true
install:
- yarn install --frozen-lockfile
matrix:
exclude:
- node_js: 7 # exclude default job https://github.com/travis-ci/travis-ci/issues/4681
include:
- env: RES_JOB=lint_flow
script:
- yarn run flow -- check --show-all-errors
- yarn run eslint
- yarn run sass-lint
- env: RES_JOB=test
script:
- yarn run coverage && yarn run report-coverage
- yarn run build -- chrome,firefox
- yarn run jpm -- xpi
- yarn run test-integration -- chrome && yarn run test-integration -- firefox
- env: RES_JOB=build_deploy
script:
- yarn run build -- all
- yarn run jpm -- xpi
- yarn run jpm-beta -- xpi
- yarn run manifoldjs-package
deploy:
- provider: releases
api_key:
secure: F0CNYZBoZbLiZDm+KkIpX/FjWhwUKMQs4O+bg6EUT32GOb17ed1HBS1Dw9DCTClyydEkhtCMZTFHQUbfNhlU7xkZxy8J/Ac9UykngVmjJBz3+ZKmbGsokjwCm8r08VCMzB0AJrvIodRwegzg9J5muXvMGNBzKxi7Q7XiNsxLNDc=
prerelease: true
file:
- dist/zip/chrome.zip
- dist/edgeextension/package/edgeExtension.appx
- dist/zip/firefox.zip
skip_cleanup: true
on:
tags: true
- provider: script
script: node build/deploy.js
skip_cleanup: true
on:
tags: true