Should fix cmake issues on linux
This commit is contained in:
23
.travis.yml
23
.travis.yml
@@ -7,10 +7,31 @@ branches:
|
|||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- os: linux
|
- os: linux
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
sources:
|
||||||
|
- george-edison55-precise-backports
|
||||||
|
packages:
|
||||||
|
- cmake-data
|
||||||
|
- cmake
|
||||||
env: BUILD_TYPE=PSP
|
env: BUILD_TYPE=PSP
|
||||||
- os: linux
|
- os: linux
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
sources:
|
||||||
|
- george-edison55-precise-backports
|
||||||
|
packages:
|
||||||
|
- cmake-data
|
||||||
|
- cmake
|
||||||
env: BUILD_TYPE=SDL
|
env: BUILD_TYPE=SDL
|
||||||
- os: linux
|
- os: linux
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
sources:
|
||||||
|
- george-edison55-precise-backports
|
||||||
|
packages:
|
||||||
|
- cmake-data
|
||||||
|
- cmake
|
||||||
env: BUILD_TYPE=Qt
|
env: BUILD_TYPE=Qt
|
||||||
- os: osx
|
- os: osx
|
||||||
env: BUILD_TYPE=Qt
|
env: BUILD_TYPE=Qt
|
||||||
@@ -39,11 +60,9 @@ before_install:
|
|||||||
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu trusty universe" &&
|
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu trusty universe" &&
|
||||||
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu trusty main" &&
|
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu trusty main" &&
|
||||||
sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test &&
|
sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test &&
|
||||||
sudo add-apt-repository --yes ppa:kalakris/cmake &&
|
|
||||||
sudo apt-get -qq update &&
|
sudo apt-get -qq update &&
|
||||||
sudo apt-get -qq install g++-4.8 &&
|
sudo apt-get -qq install g++-4.8 &&
|
||||||
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90 &&
|
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90 &&
|
||||||
sudo apt-get -qq install cmake;
|
|
||||||
fi
|
fi
|
||||||
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then
|
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then
|
||||||
brew update &&
|
brew update &&
|
||||||
|
|||||||
Reference in New Issue
Block a user