os: osx
osx_image: xcode9.2
language: cpp

compiler:
  - clang

install:
  - git submodule update --init --depth 1

script:
  - xcodebuild -project build/PomdogTest.xcodeproj clean
  - xcodebuild -project build/PomdogTest.xcodeproj
  - xcodebuild -project examples/QuickStart/Builds/QuickStart.xcodeproj clean
  - xcodebuild -project examples/QuickStart/Builds/QuickStart.xcodeproj
  - build/build/Release/PomdogUnitTest
  - mkdir build.cmake && cd build.cmake
  - cmake -G Xcode ..
  - cd ..
  - xcodebuild -project build.cmake/Pomdog.xcodeproj
  - build.cmake/build/PomdogTest/Debug/PomdogTest

notifications:
  email: false

os: osx
osx_image: xcode9.2
language: cpp

compiler:
  - clang

install:
  - git submodule update --init --depth 1

script:
  - xcodebuild -project build/PomdogTest.xcodeproj clean
  - xcodebuild -project build/PomdogTest.xcodeproj
  - xcodebuild -project examples/QuickStart/Builds/QuickStart.xcodeproj clean
  - xcodebuild -project examples/QuickStart/Builds/QuickStart.xcodeproj
  - build/build/Release/PomdogUnitTest
  - mkdir build.cmake && cd build.cmake
  - cmake -G Xcode ../build/PomdogTest
  - xcodebuild -project PomdogTest.xcodeproj -configuration Debug
  - xcodebuild -project PomdogTest.xcodeproj -configuration Release
  - Debug/PomdogTest
  - Release/PomdogTest
  - cd ..

notifications:
  email: false

Build both Debug and Release on Travis
Build both Debug and Release on Travis
