Launch tests in CI

This commit is contained in:
TC
2020-05-03 11:44:59 +02:00
parent 08710558f5
commit 57d3545701
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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