<filename>.install_cmake_travis.py<gh_stars>1-10
#!/usr/bin/env python

import os
import subprocess

fullProjectDir = os.path.dirname(os.path.realpath(__file__))

archiveName = os.environ['ARCHIVE_NAME_CMAKE']
outputCmake = "/tmp/cmake.tar.gz";
subprocess.call(["wget","--no-check-certificate",
	"https://cmake.org/files/v3.6/"+archiveName+".tar.gz","-O",outputCmake])
subprocess.call(["tar","-xvf",outputCmake])

cmakeBinLocation = os.environ['BIN_LOCATION_CMAKE']
f = open("cmakeEnv.sh", 'w')
f.write("export PATH="+fullProjectDir+"/"+archiveName+"/" + cmakeBinLocation + ":$PATH\n")
f.close()

<filename>.install_cmake_travis.py<gh_stars>1-10
#!/usr/bin/env python

import os
import subprocess

fullProjectDir = os.path.dirname(os.path.realpath(__file__))

archiveName = os.environ['ARCHIVE_NAME_CMAKE']
outputCmake = "/tmp/cmake.tar.gz";
subprocess.call(["wget","--no-check-certificate",
	"https://cmake.org/files/v3.6/"+archiveName+".tar.gz","-O",outputCmake])
subprocess.call(["tar","-xvf",outputCmake])

cmakeBinLocation = os.environ['BIN_LOCATION_CMAKE']
f = open("cmakeEnv.sh", 'w')
f.write("export PATH="+fullProjectDir+"/"+archiveName+"/" + cmakeBinLocation + ":$PATH\n")
f.close()

#!/usr/bin/env python