From 2fa83241dd137bedea2ba032ea360e6d41e77fca Mon Sep 17 00:00:00 2001 From: Vincent Fugnitto Date: Thu, 12 Sep 2019 11:56:31 -0400 Subject: [PATCH] Replace AppVeyor with Travis CI for Windows Fixes #6146 - Removed `appveyor.yml` file - Replaced the `appveyor.yml` file with new windows sections in the `.travis.yml` file Signed-off-by: Vincent Fugnitto --- .travis.yml | 8 ++++++++ appveyor.yml | 41 ----------------------------------------- 2 files changed, 8 insertions(+), 41 deletions(-) delete mode 100644 appveyor.yml diff --git a/.travis.yml b/.travis.yml index fe6836ec3d80a..ae66617cf37ce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -123,6 +123,7 @@ jobs: fast_finish: true allow_failures: - os: osx + - os: windows include: - stage: test os: linux @@ -131,6 +132,13 @@ jobs: before_script: skip script: - travis_retry yarn test:theia + - os: windows + env: + - CXX=c++ + - YARN_GPG=no + before_script: skip + script: + - travis_retry yarn test:theia - stage: deploy if: NOT type IN (cron, pull_request) os: linux diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index c65dda833c566..0000000000000 --- a/appveyor.yml +++ /dev/null @@ -1,41 +0,0 @@ -shallow_clone: true - -environment: - matrix: - - nodejs_version: "10" - -platform: - - x64 - -branches: - only: - - master - -install: - - ps: Install-Product node $env:nodejs_version $env:platform - - npm install yarn@1.7.0 -g - - netsh advfirewall firewall add rule name="SeleniumIn" dir=in action=allow protocol=TCP localport=4444 - - netsh advfirewall firewall add rule name="SeleniumOut" dir=out action=allow protocol=TCP localport=4444 - - cmd: set THEIA_SKIP_NPM_PREPARE=1 && yarn install - - npx rimraf node_modules/@theia/electron/download - - npx electron-replace-ffmpeg - - npx electron-codecs-test - -before_build: - - node --version && npm --version && yarn --version && python --version - -build_script: - - yarn prepare - -test_script: - - appveyor-retry yarn test:theia - - appveyor-retry yarn test:electron - - appveyor-retry yarn test:browser - -notifications: - - provider: Webhook - url: https://webhooks.gitter.im/e/0c92dcdcf861a4c491cc - method: POST - on_build_success: false - on_build_failure: true - on_build_status_changed: true