Update .travis.yml

This commit is contained in:
pythoneer 2015-02-15 20:02:28 +01:00
parent 8801366f08
commit 09939d8900
1 changed files with 12 additions and 18 deletions

View File

@ -1,20 +1,14 @@
language: cpp
compiler: gcc
before_install:
- sudo add-apt-repository --yes ppa:ubuntu-sdk-team/ppa
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- sudo apt-get install -qq qt5-qmake qtbase5-dev qtdeclarative5-dev libqt5webkit5-dev libsqlite3-dev libx11-dev libxtst-dev
- sudo apt-get install gcc-4.8
- sudo apt-get install g++-4.8
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 20
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 20
- sudo update-alternatives --config gcc
- sudo update-alternatives --config g++
- sudo apt-get update
- sudo apt-get upgrade -y
- sudo apt-get dist-upgrade
script:
- g++ --version
- gcc --version
- qmake -qt=qt5 -v
- qmake -qt=qt5 XInputSimulator/
- make
- sudo apt-get install -qq cmake sqlite3 qt4-dev-tools
before_script:
- mkdir build
- cd build
- cmake ../XInputSimulator/
script: make