1
0
Fork 0
mirror of https://github.com/thoughtbot/capybara-webkit synced 2023-03-27 23:22:28 -04:00

Clean up Travis before install script

Only install Qt 5 when building against Qt 5.

Remove unnecessary explicit dependencies.
This commit is contained in:
Matthew Horan 2015-01-25 21:32:24 -05:00
parent 4d898b4536
commit b5df0fa270

View file

@ -1,7 +1,7 @@
language: ruby
rvm:
- 1.9.3
- 2.1.2
- 2.1
- jruby-19mode
notifications:
email: false
@ -22,7 +22,5 @@ gemfile:
- gemfiles/2.3.gemfile
- gemfiles/2.4.gemfile
before_install:
- sudo apt-add-repository -y ppa:ubuntu-sdk-team/ppa
- sudo apt-get update
- sudo apt-get install libqt5webkit5-dev qtdeclarative5-dev qtlocation5-dev qtsensors5-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev qt4-default
- sh -c 'if [ -n "$QMAKE" ]; then sudo apt-add-repository -y ppa:ubuntu-sdk-team/ppa && sudo apt-get update && sudo apt-get install libqt5webkit5-dev qtdeclarative5-dev; fi'
install: bundle