Fixed environment variables used in travis build file.
@@ -9,10 +9,10 @@ compiler:
- clang
env:
- - CMAKE_FLAGS=
- - CMAKE_FLAGS=-DTINYSPLINE_DOUBLE_PRECISION=YES
- - CMAKE_FLAGS=-DTINYSPLINE_DISABLE_CXX11_FEATURES=YES
- - CMAKE_FLAGS=-DTINYSPLINE_DOUBLE_PRECISION=YES -DTINYSPLINE_DISABLE_CXX11_FEATURES=YES
+ - CMAKE_FLAGS=""
+ - CMAKE_FLAGS="-DTINYSPLINE_DOUBLE_PRECISION=YES"
+ - CMAKE_FLAGS="-DTINYSPLINE_DISABLE_CXX11_FEATURES=YES"
+ - CMAKE_FLAGS="-DTINYSPLINE_DOUBLE_PRECISION=YES -DTINYSPLINE_DISABLE_CXX11_FEATURES=YES"
osx_image: xcode9.2
@@ -31,7 +31,7 @@ install:
before_script:
- mkdir build
- cd build
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export CMAKE_FLAGS=$CMAKE_FLAGS -DTINYSPLINE_WITH_PHP=FALSE -DTINYSPLINE_WITH_RUBY=FALSE; fi;
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export CMAKE_FLAGS="$CMAKE_FLAGS -DTINYSPLINE_WITH_PHP=FALSE -DTINYSPLINE_WITH_RUBY=FALSE"; fi;
- cmake .. $CMAKE_FLAGS
script:
