diff --git a/.circleci/config.yml b/.circleci/config.yml index f881e41..d7461f6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -14,7 +14,7 @@ jobs: - run: npx envinfo - run: npm i -g n && n latest - run: yarn - - run: yarn release --linux --win + - run: yarn release --linux - save_cache: paths: - node_modules diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d6d99a8..0000000 --- a/.travis.yml +++ /dev/null @@ -1,26 +0,0 @@ -matrix: - include: - - os: osx - osx_image: xcode11 - language: node_js - node_js: "12" - env: - - ELECTRON_CACHE=$HOME/.cache/electron - - ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder - -cache: - directories: - - node_modules - - $HOME/.cache/electron - - $HOME/.cache/electron-builder - -before_script: - - npm i -g yarn - - npx envinfo - -script: - - | - yarn release - -before_cache: - - rm -rf $HOME/.cache/electron-builder/wine diff --git a/README.md b/README.md index 3a17638..be88aa0 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # electron-devdocs [![CircleCI](https://circleci.com/gh/gengjiawen/electron-devdocs.svg?style=svg)](https://circleci.com/gh/gengjiawen/electron-devdocs) -[![Build Status](https://travis-ci.org/gengjiawen/electron-devdocs.svg?branch=master)](https://travis-ci.org/gengjiawen/electron-devdocs) [![Build status](https://ci.appveyor.com/api/projects/status/1akkt6sjlnwwa7tu/branch/master?svg=true)](https://ci.appveyor.com/project/gengjiawen/electron-devdocs/branch/master) [![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/gengjiawen/electron-devdocs) diff --git a/appveyor.yml b/appveyor.yml index a293044..57e6264 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,19 +1,27 @@ version: 1.0.{build} image: - Visual Studio 2019 + - macOS platform: - x64 +for: + - + matrix: + only: + - image: Visual Studio 2019 + install: + - ps: Install-Product node stable x64 + - yarn init: - git config --global core.autocrlf input install: - - ps: Install-Product node stable x64 - - yarn install + - npm i -g yarn && yarn build_script: - npx envinfo - - yarn run electron-build + - yarn release test: off