代码拉取完成,页面将自动刷新
language: node_js
node_js:
# Use 12.13.1 because that is what Electron needs
- "12.13.1"
matrix:
include:
- os: osx
osx_image: "xcode11.3"
- os: linux
dist: bionic
cache:
directories:
- "$HOME/.npm"
- "$HOME/.cache/electron"
- "$HOME/.cache/electron-builder"
env:
global:
- ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
# encrypted CSC_KEY_PASSWORD:
- secure: MrkHZgU2aXfvHJY55gXFoB/diVP/GMoZfrftJeJqBU0L6t4GIWC01xrQGuS/nNNWL9ixwxSkjg1rWVr63uel905vbeP/05bNLJ8HypPPkKJs7Sd6h/2/ZDd5zAe+63J3yrpuXJj6y4tlIEPZExyHnpPZHu2fAQV0pyvkGefyyaJY9awAlCOfoCquHE9Y98EAXCxqOSdbSStSOoX6dAPdjN8CZ/Bq0gSlqZYdMBwzHee0VC4ftgGMVeXcAdJ9NNAwi70PIHryCW0YvmzLkDwJtG7GYQ7hAOgLreruu9ifmOYmRWAI4Ko8WPgD5fv46VLrsJ2Zmn5MgEg5IVR1b9oWfdo4BlC20XS2EtAWcizzCSIYza10rJJ10gyPQ32WlXwPtpohaJeyTIaEx8dTvfPe4pqRTck2UrkF215FFNgTN0tUWsrIFbYNCXVhCBSOER5ZH9uiZxmyh44rSk4Svro42hJCWquFEZAdyxld7LUJVeFNtb9SWU/5W06uExHJ0+d9MFUf0XJK6OHWol19ZTSYayLaZ2Tm2C2wrAHcUvHlsl9tUySVSVbX9+EZyhVpRn6O2ZmW2fAnKmGsOwbCljEwfFBGxReI56v7iI4RsySAS9z/pzl7+8CfjJ/tnVA6JlfGOpLhprwrc0xEH8dJKMDw51kt3yGMGFQwPo+Eq5EQ34Q=
# encrypted GH_TOKEN:
- secure: N551P94nYNIuv5IIcvgtee/jfd9ReGYRbq5hUvgG1pRbb+8wtNWT9JM6qIUflj0GoVCDeuz+urvqFwC4OET/NC6sGB9rtVoAVjf7vfKaoxPTN2wSMjT8GcVXvnG6S5hdPO6JlVrXZf2kDJr8p0vWKgRTgU7hSfEr8Nuxk938MC+qLUpuS6oAx0Vekkq/05OrZMIiheqHpSbXZido1SWBEy+XdL1MpNpKYSnp4gQXxtOQkF28vHQMKVDvPNoPm0RpuYmab6kJnGXDkWIsBtZlknw+Wf0oK9LJRuV8jFD4rkxRthuYDAXiep3dY8bkCZzo80Sy/KEB2oYKvMSBNDYlBoYeR3hsv5OB8ujhCDoXdBddjhIEe9vIFV93QWVzE+XCCfG1IczhTQ57Pk33eGfvRv/QnGnXKdSqS2+4roXOfohFh98oRzKGsFhjZ+22QQkyBHwcghw5xywPcr8ZF0ZC06pF7hvCFIlubDz9ZAaQo7vkpXbbft34ooxpGvSgQ5JOUXMu/zDy1E+szXwgcCn5trXhPEUhznCKiC2qrR4q1mVzyspXOHxz7hXkthWqUZEKFWrJw3/ttSZd1qQ7HFv2Re1eEIA/Q0HpCMe4Php5oqRDsxA7zUIHpw19aqtAhCR4WNg8yY7OmGXp3VeUQ3aiS/fFBbbsYRFj62Fv4Hr5BJY=
before_install:
# Apply workaround for git:// packages
- git config --global url."https://github.com/".insteadOf ssh://git@github.com/
# Only mess with encryption if we might be publishing (don't set up keychain for PRs)
- if [ "$TRAVIS_OS_NAME" = "osx" ] && [ "$TRAVIS_SECURE_ENV_VARS" = "true" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
echo "Configuring keychain...";
export CERT=certs/osx.p12;
export NOTARIZE=true;
openssl aes-256-cbc -K $encrypted_7777a4e0a460_key -iv $encrypted_7777a4e0a460_iv -in certs/osx.p12.enc -out $CERT -d;
export CSC_KEYCHAIN=build.keychain;
export KEYCHAIN_PASS=$RANDOM.$RANDOM.$RANDOM;
security create-keychain -p $KEYCHAIN_PASS $CSC_KEYCHAIN;
security default-keychain -s $CSC_KEYCHAIN;
security unlock-keychain -p $KEYCHAIN_PASS $CSC_KEYCHAIN;
security import $CERT -k $CSC_KEYCHAIN -P $CSC_KEY_PASSWORD -T /usr/bin/codesign;
security set-keychain-settings $CSC_KEYCHAIN;
echo "Setting key partition list";
security set-key-partition-list -S "apple-tool:,apple:,codesign:" -s -k $KEYCHAIN_PASS $CSC_KEYCHAIN;
rm $CERT;
unset CERT;
unset KEYCHAIN_PASS;
unset CSC_KEY_PASSWORD;
fi
script:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then npm run build-linux; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then travis_wait 45 npm run build-mac; fi
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。