message: travis: build backend for macos, build for ios and ios_simulator
diff: @@ -65,9 +65,19 @@ matrix:
  - MATRIX_EVAL="BUILD_TARGET=docker_build_fedora_29"
  - os: osx
  name: "macOS"
  - osx_image: xcode9.3
  + osx_image: xcode10.1
  env:
  - MATRIX_EVAL="BUILD_TARGET=osx_build"
  + - os: osx
  + name: "iOS"
  + osx_image: xcode10.1
  + env:
  + - MATRIX_EVAL="BUILD_TARGET=ios_build"
  + - os: osx
  + name: "iOS Simulator"
  + osx_image: xcode10.1
  + env:
  + - MATRIX_EVAL="BUILD_TARGET=ios_simulator_build"
  - os: windows
  name: "windows"
  env:
  @@ -126,12 +136,26 @@ script:
  docker run -it --rm -v $TRAVIS_BUILD_DIR:/home/user/DronecodeSDK:rw -e LOCAL_USER_ID=`id -u` dronecode/dronecode-sdk-fedora-29 ./tools/create_packages.sh;
  fi
  - if [[ "${BUILD_TARGET}" = "osx_build" ]]; then
  - cmake -DCMAKE_BUILD_TYPE=Debug -Bbuild/debug -H.;
  + cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_BACKEND=ON -Bbuild/debug -H.;
  make -Cbuild/debug -j4;
  ./build/debug/src/unit_tests_runner;
  - cmake -DCMAKE_BUILD_TYPE=Release -Bbuild/release -H.;
  + ./build/debug/src/backend/test/unit_tests_backend;
  + cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_BACKEND=ON -Bbuild/release -H.;
  make -Cbuild/release -j4;
  ./build/release/src/unit_tests_runner;
  + ./build/release/src/backend/test/unit_tests_backend;
  + fi
  +- if [[ "${BUILD_TARGET}" = "ios_build" ]]; then
  + cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_BACKEND=ON -Bbuild/default -H.;
  + make -Cbuild/default -j4;
  + cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=./tools/ios.toolchain.cmake -DPLATFORM=OS -DBUILD_BACKEND=ON -Bbuild/ios -H.;
  + make -Cbuild/ios -j4;
  + fi
  +- if [[ "${BUILD_TARGET}" = "ios_simulator_build" ]]; then
  + cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_BACKEND=ON -Bbuild/default -H.;
  + make -Cbuild/default -j4;
  + cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=./tools/ios.toolchain.cmake -DPLATFORM=SIMULATOR64 -DBUILD_BACKEND=ON -Bbuild/ios_simulator -H.;
  + make -Cbuild/ios_simulator -j4;
  fi
  - if [[ "${BUILD_TARGET}" = "windows" ]]; then
  cmake -G "Visual Studio 15 2017" -DCMAKE_INSTALL_PREFIX=${TRAVIS_BUILD_DIR}/build/debug/install -DBUILD_BACKEND=ON -Bbuild/debug -H${TRAVIS_BUILD_DIR};
  