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