Install CMake in system dirs

This commit is contained in:
Victor Zverovich 2015-03-03 22:12:37 -08:00
parent 4d208ae86f
commit e1b62a5d39

View File

@ -9,7 +9,7 @@ os_name = os.environ['TRAVIS_OS_NAME']
if os_name == 'linux': if os_name == 'linux':
# Install newer version of CMake. # Install newer version of CMake.
bootstrap.install_cmake( bootstrap.install_cmake(
'cmake-3.1.1-Linux-i386.tar.gz', check_installed=False, download_dir=None, install_dir='.') 'cmake-3.1.1-Linux-i386.tar.gz', check_installed=False, download_dir=None)
with Downloader().download('http://www.biicode.com/downloads/latest/ubuntu64') as f: with Downloader().download('http://www.biicode.com/downloads/latest/ubuntu64') as f:
check_call(['sudo', 'dpkg', '-i', f]) check_call(['sudo', 'dpkg', '-i', f])
elif os_name == 'osx': elif os_name == 'osx':