加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.ymlfff 1.18 KB
一键复制 编辑 原始数据 按行查看 历史
编号001 提交于 2024-06-15 18:17 . init project
# matrix:
# include:
# - os: osx
# osx_image: xcode10.2
# language: node_js
# node_js: "10"
# env:
# - ELECTRON_CACHE=$HOME/.cache/electron
# - ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
# - os: linux
# services: docker
# language: generic
# cache:
# directories:
# - node_modules
# - $HOME/.cache/electron
# - $HOME/.cache/electron-builder
# script:
# - |
# if [ "$TRAVIS_OS_NAME" == "linux" ]; then
# docker run --rm \
# --env-file <(env | grep -vE '\r|\n' | grep -iE 'DEBUG|NODE_|ELECTRON_|YARN_|NPM_|CI|CIRCLE|TRAVIS_TAG|TRAVIS|TRAVIS_REPO_|TRAVIS_BUILD_|TRAVIS_BRANCH|TRAVIS_PULL_REQUEST_|APPVEYOR_|CSC_|GH_|GITHUB_|BT_|AWS_|STRIP|BUILD_') \
# -v ${PWD}:/project \
# -v ~/.cache/electron:/root/.cache/electron \
# -v ~/.cache/electron-builder:/root/.cache/electron-builder \
# electronuserland/builder:wine \
# /bin/bash -c "yarn --link-duplicates --pure-lockfile && yarn release --linux --win"
# else
# yarn release
# fi
# before_cache:
# - rm -rf $HOME/.cache/electron-builder/wine
# branches:
# except:
# - "/^v\\d+\\.\\d+\\.\\d+$/"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化