premake/.travis.yml
Sam Surtees d995f687ef Fleshed out CI builds
- Extended Bootstrap.mak to allow users to specify platform and configuration
2018-04-09 22:12:10 +10:00

31 lines
563 B
YAML

language: c++
dist: trusty
sudo: false
matrix:
include:
# Linux Debug
- os: linux
compiler: gcc
env:
- CONFIGURATION=debug
# Linux Release
- os: linux
compiler: gcc
env:
- CONFIGURATION=release
# macOS Debug x86
- os: osx
osx_image: xcode9
env:
- CONFIGURATION=debug
# macOS Release x86
- os: osx
osx_image: xcode9
env:
- CONFIGURATION=release
script:
- make -f Bootstrap.mak $TRAVIS_OS_NAME CONFIG=${CONFIGURATION}
- bin/${CONFIGURATION}/premake5 test