language: objective-c
before_install:
  - brew update
  - brew install ninja
script:
  - mkdir ../build
  - cd ../build
  - cmake ../cmake-ios-toolchain/test
  - ctest -V
  - rm -rf *
  - cmake -G Ninja ../cmake-ios-toolchain/test
  - ctest -V

language: objective-c
before_install:
  - brew update
install:
  - brew install ninja
  - wget https://cmake.org/files/v3.4/cmake-3.4.1-Darwin-x86_64.tar.gz
  - tar xvzf cmake-3.4.1-Darwin-x86_64.tar.gz
  - mv cmake-*/CMake.app $HOME/
  - export PATH="$HOME/CMake.app/Contents/bin:$PATH"
  - which cmake
script:
  - mkdir ../build
  - cd ../build
  - cmake ../cmake-ios-toolchain/test
  - ctest -V
  - rm -rf *
  - cmake -G Ninja ../cmake-ios-toolchain/test
  - ctest -V

Update TravisCI CMake version to 3.4.1.
ENH: Update TravisCI CMake version to 3.4.1.
