From 774024e745b5a7abcfd702baa6f0d1e28cff27df Mon Sep 17 00:00:00 2001 From: Rikki Schulte Date: Wed, 23 Sep 2020 11:59:46 -0400 Subject: [PATCH] ci: disable electron build for now (#1278) * ci: disable electron build for now * remove all ci except netlify for now --- .circleci/config.yml | 54 -------------------------------------------- .travis.yml | 35 ---------------------------- 2 files changed, 89 deletions(-) delete mode 100644 .circleci/config.yml delete mode 100644 .travis.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index d87a5db65..000000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,54 +0,0 @@ -version: 2 - -jobs: - playground-build: - docker: - # - image: circleci/node:8 - - image: circleci/node:10 - - steps: - - checkout - - run: yarn show-versions - - run: yarn install - - run: cd packages/graphql-playground-react && yarn && yarn build - - electron-build: - macos: - xcode: '10.0.0' - steps: - - checkout - - run: | - if [[ -z "$CIRCLE_PULL_REQUEST" && "$CIRCLE_BRANCH" == "master" ]] - then - security create-keychain -p travis build.keychain - security default-keychain -s build.keychain - security unlock-keychain -p travis build.keychain - echo $CERTIFICATE_OSX_P12 | base64 --decode > certificate.p12 - security import certificate.p12 -k build.keychain -P $CERTIFICATE_OSX_PASSWORD -T /usr/bin/codesign - # needed for signing in CI environments (don't ask...) - security set-key-partition-list -S apple-tool:,apple: -s -k travis build.keychain - fi - # needed for release process - - run: brew install gettext - # - run: yarn install - # temporarily delete workspace `package.json` - # pending: https://github.com/electron-userland/electron-builder/issues/2222 - - run: rm package.json - - run: cd packages/graphql-playground-electron && yarn - - run: - no_output_timeout: 30m - command: | - if [[ -z "$CIRCLE_PULL_REQUEST" && "$CIRCLE_BRANCH" == "master" ]] - then - cd packages/graphql-playground-electron && yarn release - else - cd packages/graphql-playground-electron && yarn build - fi - -workflows: - version: 2 - build: - jobs: - - playground-build - # Disable electron build until Circle's OSX open-source plan is activated - - electron-build diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 4b9fa26a8..000000000 --- a/.travis.yml +++ /dev/null @@ -1,35 +0,0 @@ -os: osx -osx_image: xcode9.2 - -language: node_js -node_js: - - "10" - - "12" - -cache: - directories: - - node_modules - - $HOME/.cache/electron - - $HOME/.cache/electron-builder - -git: - depth: 5 - -install: - - | - security create-keychain -p travis build.keychain - security default-keychain -s build.keychain - security unlock-keychain -p travis build.keychain - echo $CERTIFICATE_OSX_P12 | base64 --decode > certificate.p12 - security import certificate.p12 -k build.keychain -P $CERTIFICATE_OSX_PASSWORD -T /usr/bin/codesign - security set-key-partition-list -S apple-tool:,apple: -s -k travis build.keychain - - cd packages/graphql-playground-electron - - yarn install - - yarn release - -notifications: - email: false - -branches: - except: - - "/^v\\d+\\.\\d+\\.\\d+$/"