Travis: Create a build matrix

This commit is contained in:
Dr. Chat
2017-02-17 23:42:09 -06:00
parent f12d795a9f
commit 2dc1530fdd

View File

@@ -13,8 +13,14 @@ os:
# - osx # - osx
env: env:
global: - LINT=true
- BUILD=true CONFIG=debug
- BUILD=true CONFIG=release
matrix:
allow_failures:
# LLVMGold.so is not installed correctly
- env: CONFIG=release
dist: trusty dist: trusty
sudo: required sudo: required
@@ -45,15 +51,14 @@ before_script:
script: script:
# Run linter. # Run linter.
- ./xenia-build lint --all - if [[ $LINT == true ]]; then ./xenia-build lint --all; fi
# Run style checker.
#- ./xenia-build style
# Build and run our simple hello world test. # Build and run our simple hello world test.
- ./xenia-build build --config=debug --target=xenia-base-tests - if [[ $BUILD == true ]]; then ./xenia-build build --config=debug --target=xenia-base-tests; fi
- ./build/bin/Linux/Debug/xenia-base-tests - if [[ $BUILD == true ]]; then ./build/bin/Linux/Debug/xenia-base-tests; fi
# Build and run ppc tests # Build and run ppc tests
- ./xenia-build build --config=debug --target=xenia-cpu-ppc-tests - if [[ $BUILD == true ]]; then ./xenia-build build --config=debug --target=xenia-cpu-ppc-tests; fi
# - ./build/bin/Linux/Debug/xenia-cpu-ppc-tests --log_file=stdout # - if [[ $BUILD == true ]]; then ./build/bin/Linux/Debug/xenia-cpu-ppc-tests --log_file=stdout; fi
# TODO(DrChat): Enable builds in the future. # TODO(DrChat): Enable builds in the future.
# Build all of xenia. # Build all of xenia.