diff options
-rw-r--r-- | .travis.yml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 9e59ee99..2820b973 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,6 @@ git: cache: directories: - $HOME/.cache/pip - - $HOME/CGAL-4.13 env: global: - CGAL_VERSION='CGAL-4.13' @@ -41,9 +40,9 @@ addons: # When installing through libcgal-dev apt, CMake Error at CGAL Exports.cmake The imported target "CGAL::CGAL Qt5" references the file install: - - [[ -d ${CGAL_VERSION} ]] && echo "Download https://github.com/CGAL/cgal/releases/download/releases%2F${CGAL_VERSION}/${CGAL_VERSION}.tar.xz" - - [[ -d ${CGAL_VERSION} ]] && curl -LO "https://github.com/CGAL/cgal/releases/download/releases%2F${CGAL_VERSION}/${CGAL_VERSION}.tar.xz" - - [[ -d ${CGAL_VERSION} ]] && tar xf ${CGAL_VERSION}.tar.xz + - echo "Download https://github.com/CGAL/cgal/releases/download/releases%2F${CGAL_VERSION}/${CGAL_VERSION}.tar.xz" + - curl -LO "https://github.com/CGAL/cgal/releases/download/releases%2F${CGAL_VERSION}/${CGAL_VERSION}.tar.xz" + - tar xf ${CGAL_VERSION}.tar.xz - cd ${CGAL_VERSION} - cmake -DCMAKE_BUILD_TYPE=Release -DCGAL_HEADER_ONLY=ON . - make all |