Update .travis.yml

This commit is contained in:
pythoneer 2015-02-15 20:16:42 +01:00
parent ef56b6c902
commit e838d7d4c3
1 changed files with 7 additions and 13 deletions

View File

@ -1,23 +1,17 @@
language: cpp
compiler: gcc
compiler: g++
before_install:
- sudo add-apt-repository --yes ppa:ubuntu-sdk-team/ppa
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- 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
- sudo apt-get install -qq cmake sqlite3 libx11-dev libxtst-dev
install:
- sudo apt-get install -qq g++-4.8
- export CXX="g++-4.8"
before_script:
- sudo apt-get install -qq sqlite3 libx11-dev libxtst-dev
- mkdir build
- cd build
- cmake ../XInputSimulator/