diff --git a/.travis.yml b/.travis.yml index 11a9c3adbd..612e30f7ad 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,9 +4,10 @@ language: cpp env: - BUILD_VERSION="" - - BUILD_VERSION="no_autoupdate" - - BUILD_VERSION="no_custom_scheme" - - BUILD_VERSION="no_autoupdate+no_custom_scheme" + - BUILD_VERSION="disable_autoupdate" + - BUILD_VERSION="disable_register_custom_scheme" + - BUILD_VERSION="disable_crash_reports" + - BUILD_VERSION="disable_network_proxy" arch: packages: diff --git a/.travis/build.sh b/.travis/build.sh index 62635d9701..ebbaeffc4a 100755 --- a/.travis/build.sh +++ b/.travis/build.sh @@ -82,14 +82,22 @@ prepare() { local options="" - if [[ $BUILD_VERSION == *"no_autoupdate"* ]]; then + if [[ $BUILD_VERSION == *"disable_autoupdate"* ]]; then options+="\nDEFINES += TDESKTOP_DISABLE_AUTOUPDATE" fi - if [[ $BUILD_VERSION == *"no_custom_scheme"* ]]; then + if [[ $BUILD_VERSION == *"disable_register_custom_scheme"* ]]; then options+="\nDEFINES += TDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME" fi + if [[ $BUILD_VERSION == *"disable_crash_reports"* ]]; then + options+="\nDEFINES += TDESKTOP_DISABLE_CRASH_REPORTS" + fi + + if [[ $BUILD_VERSION == *"disable_network_proxy"* ]]; then + options+="\nDEFINES += TDESKTOP_DISABLE_NETWORK_PROXY" + fi + options+='\nINCLUDEPATH += "/usr/lib/glib-2.0/include"' options+='\nINCLUDEPATH += "/usr/lib/gtk-2.0/include"' options+='\nINCLUDEPATH += "/usr/include/opus"'