Add Travis configuration to mod.config.

This commit is contained in:
Paul Chote 2017-08-24 21:51:50 +00:00
parent 701e10b87f
commit 4f24a06be6
2 changed files with 19 additions and 2 deletions

View File

@ -14,7 +14,9 @@ addons:
script: script:
- make - make
- make test - . mod.config;
if [ "${TRAVIS_TEST_MOD}" == "True" ]; then make test || travis_terminate 1; fi;
if [ "${TRAVIS_TEST_PACKAGING}" == "True" ]; then ./packaging/package-all.sh test-0 || travis_terminate 1; fi
before_deploy: before_deploy:
- mkdir build - mkdir build

View File

@ -18,7 +18,22 @@ ENGINE_VERSION="1b0ae1e"
INCLUDE_DEFAULT_MODS="False" INCLUDE_DEFAULT_MODS="False"
############################################################################## ##############################################################################
# Packaging Configuration # Continuous Integration
#
# Settings controlling the behaviour of Travis CI
# (if it has been enabled on your GitHub repository)
##############################################################################
# Enable tests for common errors when a new commit is pushed to the GitHub repository
# Accepts values "True" or "False".
TRAVIS_TEST_MOD="True"
# Perform a dry run of the installer generation when a new commit is pushed to the GitHub repository
# Accepts values "True" or "False".
TRAVIS_TEST_PACKAGING="False"
##############################################################################
# Packaging
# #
# Settings controlling the creation of installers. # Settings controlling the creation of installers.
############################################################################## ##############################################################################