From 250e15fb72d358c5833a68990142a554f0e5bbab Mon Sep 17 00:00:00 2001 From: Benjamin Staneck Date: Wed, 16 Dec 2020 03:05:58 +0100 Subject: [PATCH] Kill AV, Travis and CircleCI --- .circleci/config.yml | 98 -------------------------------------------- .travis.yml | 41 ------------------ appveyor.yml | 34 --------------- 3 files changed, 173 deletions(-) delete mode 100644 .circleci/config.yml delete mode 100644 .travis.yml delete mode 100644 appveyor.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 0e2c0f9b..00000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,98 +0,0 @@ -version: 2 -jobs: - install: - macos: - xcode: "11.2.1" - working_directory: ~/repo - steps: - - checkout - - restore_cache: - key: cache-{{ checksum "yarn.lock" }} - - run: - name: Installing Dependencies - command: yarn --ignore-engines - - save_cache: - key: cache-{{ checksum "yarn.lock" }} - paths: - - node_modules - - run: - name: Getting build icon - command: if [[ $CIRCLE_BRANCH == canary ]]; then cp build/canary.icns build/icon.icns; fi - - persist_to_workspace: - root: . - paths: - - node_modules - - app/node_modules - - test: - macos: - xcode: "11.2.1" - steps: - - checkout - - attach_workspace: - at: . - - run: - name: Testing - command: yarn test - - build: - macos: - xcode: "11.2.1" - steps: - - checkout - - attach_workspace: - at: . - - run: - name: Building - command: yarn dist --publish 'never' - - store_artifacts: - path: dist - - persist_to_workspace: - root: . - paths: - - dist - - release: - macos: - xcode: "11.2.1" - steps: - - checkout - - attach_workspace: - at: . - - run: - name: Deploying to GitHub - command: yarn dist - - -workflows: - version: 2 - build: - jobs: - - install: - filters: - tags: - only: /.*/ - - test: - requires: - - install - filters: - tags: - only: /.*/ - - build: - requires: - - test - filters: - branches: - only: - - master - - canary - tags: - ignore: /.*/ - - release: - requires: - - test - filters: - tags: - only: /.*/ - branches: - ignore: /.*/ diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 882c63f3..00000000 --- a/.travis.yml +++ /dev/null @@ -1,41 +0,0 @@ -sudo: required -dist: xenial - -language: node_js - -matrix: - include: - - os: linux - node_js: 14 - env: CC=clang CXX=clang++ npm_config_clang=1 - compiler: clang - -addons: - apt: - packages: - - gcc-multilib - - g++-multilib - - libgnome-keyring-dev - - icnsutils - - graphicsmagick - - xz-utils - - rpm - - bsdtar - - snapd - -before_install: - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo snap install snapcraft --classic; fi - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start; sleep 3; fi - -cache: yarn - -install: - - yarn - -after_success: - - (git branch --contains $TRAVIS_COMMIT | grep canary > /dev/null || [[ "$TRAVIS_BRANCH" == "canary" ]] ) && (cd build; cp canary.icns icon.icns; cp canary.ico icon.ico) - - yarn run dist - -branches: - except: - - "/^v\\d+\\.\\d+\\.\\d+$/" diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 6fea7103..00000000 --- a/appveyor.yml +++ /dev/null @@ -1,34 +0,0 @@ -# https://github.com/sindresorhus/appveyor-node/blob/master/appveyor.yml - -environment: - matrix: - - platform: x64 - -branches: - only: - - master - - canary - -image: Visual Studio 2019 - -install: - - ps: Install-Product node 14 x64 - - set CI=true - - yarn - -build: off - -matrix: - fast_finish: true - -shallow_clone: true - -test_script: - - node --version - - yarn --version - - yarn run test - -on_success: - - IF %APPVEYOR_REPO_BRANCH%==canary cp build\canary.ico build\icon.ico - - yarn run dist - - ps: Get-ChildItem .\dist\squirrel-windows\*.exe | % { Push-AppveyorArtifact $_.FullName }