aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJarrett Chisholm <jarrettchisholm@gmail.com>2017-01-15 23:02:50 -0500
committerJarrett Chisholm <jarrettchisholm@gmail.com>2017-01-15 23:02:50 -0500
commite1429b611d89d35b145a808e5c6debf7d94a8584 (patch)
tree6a1330d8b281958cb7cc4acf5a1425766e9a203a
parentcc7495e30d4a234f6e080cf4ca9ed90996be3913 (diff)
try different cmake ppa
-rw-r--r--.travis.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index ff3cf7f..0507af9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,16 +2,20 @@ language: cpp
compiler:
- clang
- gcc
+addons:
+ apt:
+ packages:
+ - cmake
+ sources:
+ - kalakris-cmake
before_install:
- sudo apt-add-repository -y ppa:jkeiren/ppa
- if test $CC = gcc; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
- - sudo add-apt-repository -y george-edison55/precise-backports
- sudo apt-get update -qq
- if test $CC = gcc; then sudo apt-get install --yes --force-yes gcc-4.7 g++-4.7; fi
- if test $CC = gcc; then sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.7 20; fi
- if test $CC = gcc; then sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.7 20; fi
- if test $CC = gcc; then sudo update-alternatives --config gcc; fi
- if test $CC = gcc; then sudo update-alternatives --config g++; fi
- - sudo apt-get install --yes --force-yes cmake cmake-data
script: ./scripts/travis.sh