Update circle.yml

This commit is contained in:
Phuntsok Drak-pa 2018-04-16 00:16:28 +02:00 committed by GitHub
parent 93e7b807c2
commit a414021f3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@ machine:
timezone: timezone:
Europe/Paris Europe/Paris
environment: environment:
PATH: "/home/ubuntu/cmake-3.6.2-Linux-x86_64/bin:$PATH" PATH: "/home/ubuntu/cmake-3.11.0-Linux-x86_64/bin:$PATH"
dependencies: dependencies:
cache_directories: cache_directories:
@ -11,7 +11,7 @@ dependencies:
- > - >
if [ ! -d ~/cmake-3.11.0-Linux-x86_64 ]; then if [ ! -d ~/cmake-3.11.0-Linux-x86_64 ]; then
echo "No cache - building CMake" echo "No cache - building CMake"
cd ~ && wget --quiet https://cmake.org/files/v3.6/cmake-3.11.0-Linux-x86_64.tar.gz && tar -xvf cmake-3.11.0-Linux-x86_64.tar.gz cd ~ && wget --quiet https://cmake.org/files/v3.11/cmake-3.11.0-Linux-x86_64.tar.gz && tar -xvf cmake-3.11.0-Linux-x86_64.tar.gz
else else
echo "Cached CMake found" echo "Cached CMake found"
ls -Ahl ~/cmake-3.11.0-Linux-x86_64 ls -Ahl ~/cmake-3.11.0-Linux-x86_64