Try again to run specs on 🐧

This commit is contained in:
Antonio Scandurra 2015-04-11 11:46:20 +02:00
parent 6dfcc582b3
commit 2dda990533
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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)