-
Notifications
You must be signed in to change notification settings - Fork 56
/
.travis.yml
45 lines (40 loc) · 1.39 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
os: osx
osx_image: xcode9.4
language: node_js
node_js: "8"
sudo: required
env:
global:
# from https://www.electron.build/configuration/publish#githuboptions
# - EP_DRAFT=false
# - EP_PRE_RELEASE=false
- ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
# specifying npm version as
# by default travis seemed to sue 4.2.0
# https://docs.travis-ci.com/user/languages/javascript-with-nodejs/#using-a-specific-npm-version
install:
- node --version
- npm i -g npm@5
- npm --version
- npm install
- npm run make_js
script:
- npm run build:mwl:publish:always;
# - npm run adobe-panel-package-sign-build
- ls ./dist;
- find . | grep mac.zip;
- find . | grep x86_64.AppImage;
- find . | grep .exe;
- npm run adobe-panel-package-sign-build
# package all files and folders needed inside adobe-panel-build folder
# - npm run adobe-panel-build
# # creating a certificate
# - $ZXPSignCmd_PATH -selfSignedCert $COUNTRY_CODE $STATE_OR_PROVINCE $ORGANIZATION "$COMMON_NAME" $CERTIFICATE_PASSWORD $CERTIFICATE_OUTPUT_PATH
# # pack and sign the extension
# - $ZXPSignCmd_PATH -sign $INPUT_DIRECTORY $OUTPUT_ZXP $CERTIFICATE_OUTPUT_PATH $CERTIFICATE_PASSWORD -tsa $TIMESTAMPS_URL
- node travis_to_github_upload.js
branches:
except:
- # Do not build tags that we create when we upload to GitHub Releases
- /^(?i:continuous)/