From 57d35457013a03f36dd84b7aa29b21d16e410bbd Mon Sep 17 00:00:00 2001 From: TC Date: Sun, 3 May 2020 11:44:59 +0200 Subject: [PATCH] Launch tests in CI --- .travis.yml | 3 +++ appveyor.yml | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index 74fac9d8..d45f47bb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,8 @@ jobs: osx_image: xcode11.3 - os: linux dist: xenial + services: + - xvfb cache: yarn: false @@ -18,6 +20,7 @@ cache: script: - | + yarn test if [ "$TRAVIS_OS_NAME" == "linux" ]; then yarn run release:linux else diff --git a/appveyor.yml b/appveyor.yml index d1401ff5..47f32279 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -21,6 +21,11 @@ install: # # https://www.appveyor.com/docs/how-to/rdp-to-build-worker/ # - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) +# @FIXME: tests disabled because app fails to launch on AppVeyor/Windows +# os: unstable # https://github.com/electron-userland/spectron#on-appveyor +# test_script: +# - yarn test + build_script: - yarn run release:win