From 2dda990533c144b7c39c5284ded5d5e378912930 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Sat, 11 Apr 2015 11:46:20 +0200 Subject: [PATCH] Try again to run specs on :penguin: --- .travis.yml | 2 ++ build/Gruntfile.coffee | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7e47d0660..2372e62b4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,8 @@ install: - nvm use $NODE_VERSION - if [ $TRAVIS_OS_NAME == "linux" ]; then sudo apt-get install build-essential git libgnome-keyring-dev fakeroot; + export DISPLAY=:99.0; + sh -e /etc/init.d/xvfb start; fi script: script/cibuild diff --git a/build/Gruntfile.coffee b/build/Gruntfile.coffee index 05efaeb38..24ad88b7e 100644 --- a/build/Gruntfile.coffee +++ b/build/Gruntfile.coffee @@ -226,7 +226,7 @@ module.exports = (grunt) -> ciTasks.push('set-version', 'check-licenses', 'lint') ciTasks.push('mkdeb') if process.platform is 'linux' ciTasks.push('create-windows-installer') if process.platform is 'win32' - ciTasks.push('test') if process.platform is 'darwin' + ciTasks.push('test') if process.platform in ['darwin', 'linux'] ciTasks.push('codesign') ciTasks.push('publish-build') grunt.registerTask('ci', ciTasks)