mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-16 20:52:06 +00:00
Launch tests in CI
This commit is contained in:
@ -9,6 +9,8 @@ jobs:
|
|||||||
osx_image: xcode11.3
|
osx_image: xcode11.3
|
||||||
- os: linux
|
- os: linux
|
||||||
dist: xenial
|
dist: xenial
|
||||||
|
services:
|
||||||
|
- xvfb
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
yarn: false
|
yarn: false
|
||||||
@ -18,6 +20,7 @@ cache:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
|
yarn test
|
||||||
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
|
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
|
||||||
yarn run release:linux
|
yarn run release:linux
|
||||||
else
|
else
|
||||||
|
|||||||
@ -21,6 +21,11 @@ install:
|
|||||||
# # https://www.appveyor.com/docs/how-to/rdp-to-build-worker/
|
# # 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'))
|
# - 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:
|
build_script:
|
||||||
- yarn run release:win
|
- yarn run release:win
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user