language: cpp
compiler:
  - clang
  # - gcc don't really care

os:
  - linux
  - osx    # beta only

# Run setup to build ninja/gyp/etc and actually build xenia.
before_script:
  - travis_retry ./xenia-build.py setup
  - ./xenia-build.py build --debug alloy-test
  - ./xenia-build.py build --debug alloy-ppc-test

# Run test suite.
script:
  - ./build/xenia/Debug/alloy-test
  - ./build/xenia/Debug/alloy-ppc-test --runtime_backend=ivm
  - ./build/xenia/Debug/alloy-ppc-test --runtime_backend=x64