mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 18:41:47 +00:00
Launch tests in CI
This commit is contained in:
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user