mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-01 10:33:14 +08:00
Fix tests on linux by attaching display to Travis
This commit is contained in:
parent
97e36cb1d9
commit
a976cf3da6
1 changed files with 3 additions and 0 deletions
|
@ -76,6 +76,9 @@ before_install:
|
||||||
DISPLAY=nothing:0
|
DISPLAY=nothing:0
|
||||||
git submodule update --init mailsync
|
git submodule update --init mailsync
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start +extension RANDR; fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- npm run ci-setup-mac-keychain
|
- npm run ci-setup-mac-keychain
|
||||||
- npm run lint
|
- npm run lint
|
||||||
|
|
Loading…
Reference in a new issue