language: cpp
compiler:
- g++
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo add-apt-repository -y ppa:ubuntu-sdk-team/ppa
- sudo add-apt-repository -y ppa:george-edison55/cmake-3.x
- sudo apt-get update -qq
install:
- sudo apt-get install -qq gcc-4.8 g++-4.8
- sudo apt-get install -qq cmake
- sudo apt-get install -qq qtbase5-dev qtdeclarative5-dev libqt5webkit5-dev
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
before_script:
- cmake .
script:
- make
notifications:
  email:
    on_success: change
    on_failure: always
  slack:
    secure: YWuYn1oeOjim5xu0j0ip6Q7QndFViTtlxsX76IwKnr5BKgqXkjzVbdUQ4aLYhTm0vwP909JSyjKhULb3nZSGj5NOu7LI9pEw5pUhM/cAPrP/e2/hx5qMaKAMwbkMG8AQL9ngnAL1iZ588bJGC6mNOxcl7378eR3F/SMr+rTwuuU=
os:
- linux

language: cpp
compiler:
- g++
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo add-apt-repository -y ppa:ubuntu-sdk-team/ppa
- sudo add-apt-repository -y ppa:sschuberth/cmake-here
- sudo apt-get update -qq
install:
- sudo apt-get install -qq gcc-4.8 g++-4.8
- sudo apt-get install -qq cmake
- sudo apt-get install -qq qtbase5-dev qtdeclarative5-dev libqt5webkit5-dev
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
before_script:
- cmake .
script:
- make
notifications:
  email:
    on_success: change
    on_failure: always
  slack:
    secure: YWuYn1oeOjim5xu0j0ip6Q7QndFViTtlxsX76IwKnr5BKgqXkjzVbdUQ4aLYhTm0vwP909JSyjKhULb3nZSGj5NOu7LI9pEw5pUhM/cAPrP/e2/hx5qMaKAMwbkMG8AQL9ngnAL1iZ588bJGC6mNOxcl7378eR3F/SMr+rTwuuU=
os:
- linux

Add ppa which supports cmake 3 on 12.04
Add ppa which supports cmake 3 on 12.04

Travis, why you be on 12.04
