加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 722 Bytes
一键复制 编辑 原始数据 按行查看 历史
sudo: required
dist: trusty
language: c
jobs:
include:
- os: osx
osx_image: xcode11.3
- os: linux
env: CC=clang CXX=clang++ npm_config_clang=1
compiler: clang
cache:
directories:
- node_modules
- $HOME/.cache/electron
- $HOME/.cache/electron-builder
addons:
apt:
packages:
- libgnome-keyring-dev
- icnsutils
- rpm
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install --no-install-recommends -y icnsutils graphicsmagick xz-utils; fi
install:
- nvm install 12.14.1
- source ~/.bashrc
- npm install -g xvfb-maybe
- npm install
script:
- npm run release
before_cache:
- rm -rf $HOME/.cache/electron-builder/wine
branches:
only:
- master
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化