From e838d7d4c35d46bee8137042ce2e409d505d5094 Mon Sep 17 00:00:00 2001 From: pythoneer Date: Sun, 15 Feb 2015 20:16:42 +0100 Subject: [PATCH] Update .travis.yml --- .travis.yml | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index bc342d4..3a5d7ff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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/