update travis config, disable cmake for legacy platform
@@ -10,6 +10,7 @@ matrix:
env:
- BUILD=amd64-precise-gcc
- NO_CPP=true
+ - NO_CMAKE=true
- os: linux
sudo: required
dist: xenial
@@ -69,11 +70,11 @@ install:
- git clone https://github.com/SanderMertens/bake
- make -C bake/build-$(uname)
- bake/bake setup
- - mkdir build-cmake
- - cd build-cmake
- - cmake ..
- - make
- - cd ..
+ - if [[ -z "$NO_CMAKE" ]]; then mkdir build-cmake; fi
+ - if [[ -z "$NO_CMAKE" ]]; then cd build-cmake; fi
+ - if [[ -z "$NO_CMAKE" ]]; then cmake ..; fi
+ - if [[ -z "$NO_CMAKE" ]]; then make; fi
+ - if [[ -z "$NO_CMAKE" ]]; then cd ..; fi
- bake
- bake examples/c
- if [[ -z "$NO_CPP" ]]; then bake examples/cpp; fi
