mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-27 10:28:31 +08:00
fix(travis): enable fake Xorg window to allow electron testing on Linux
This commit is contained in:
parent
ad04faab02
commit
40d67b5632
2 changed files with 6 additions and 1 deletions
|
@ -29,6 +29,10 @@ matrix:
|
|||
|
||||
sudo: false
|
||||
|
||||
before_script:
|
||||
- export DISPLAY=:99.0
|
||||
- sh -e /etc/init.d/xvfb start
|
||||
|
||||
install:
|
||||
- echo $CC
|
||||
- echo $CXX
|
||||
|
@ -52,3 +56,4 @@ addons:
|
|||
- g++-4.8
|
||||
- git
|
||||
- libgnome-keyring-dev
|
||||
- xvfb
|
||||
|
|
|
@ -362,7 +362,7 @@ module.exports = (grunt) ->
|
|||
ciTasks = ['output-disk-space', 'download-electron', 'build']
|
||||
ciTasks.push('dump-symbols') if process.platform isnt 'win32'
|
||||
ciTasks.push('set-version', 'lint', 'generate-asar')
|
||||
ciTasks.push('test') if process.platform is 'darwin'
|
||||
ciTasks.push('test') if process.platform isnt 'win32'
|
||||
|
||||
unless process.env.TRAVIS
|
||||
ciTasks.push('codesign')
|
||||
|
|
Loading…
Reference in a new issue