@@ -35,14 +35,14 @@ jobs: | |||||
- PLUGINS="dpf-plugins" | - PLUGINS="dpf-plugins" | ||||
before_install: | before_install: | ||||
- sh ${TRAVIS_BUILD_DIR}/.travis/before_install.sh | |||||
- bash ${TRAVIS_BUILD_DIR}/.travis/before_install.sh | |||||
install: | install: | ||||
- sh ${TRAVIS_BUILD_DIR}/.travis/install.sh | |||||
- bash ${TRAVIS_BUILD_DIR}/.travis/install.sh | |||||
script: | script: | ||||
- sh ${TRAVIS_BUILD_DIR}/bootstrap.sh ${TARGET} | |||||
- sh ${TRAVIS_BUILD_DIR}/build-plugin.sh ${TARGET} ${PLUGINS} | |||||
- bash ${TRAVIS_BUILD_DIR}/bootstrap.sh ${TARGET} | |||||
- bash ${TRAVIS_BUILD_DIR}/build-plugin.sh ${TARGET} ${PLUGINS} | |||||
notifications: | notifications: | ||||
email: true | email: true | ||||
@@ -8,43 +8,41 @@ WIN32=0 | |||||
WIN64=0 | WIN64=0 | ||||
function check_target() { | function check_target() { | ||||
case ${target} in | |||||
"macos") | |||||
MACOS=1 | |||||
;; | |||||
"macos-old") | |||||
MACOS=1 | |||||
MACOS_OLD=1 | |||||
CROSS_COMPILING=1 | |||||
;; | |||||
"win32") | |||||
WIN32=1 | |||||
CROSS_COMPILING=1 | |||||
;; | |||||
"win64") | |||||
WIN32=1 | |||||
WIN64=1 | |||||
CROSS_COMPILING=1 | |||||
;; | |||||
"Linux") | |||||
LINUX=1 | |||||
;; | |||||
"native") | |||||
target=$(uname -s) | |||||
check_target | |||||
;; | |||||
default) | |||||
echo "Invalid target '${target}', possible values are:" | |||||
echo "\tmacos" | |||||
echo "\tmacos-old" | |||||
echo "\twin32" | |||||
echo "\twin64" | |||||
echo "\tnative" | |||||
exit 2 | |||||
;; | |||||
esac | |||||
case "${target}" in | |||||
"macos") | |||||
MACOS=1 | |||||
;; | |||||
"macos-old") | |||||
MACOS=1 | |||||
MACOS_OLD=1 | |||||
CROSS_COMPILING=1 | |||||
;; | |||||
"win32") | |||||
WIN32=1 | |||||
CROSS_COMPILING=1 | |||||
;; | |||||
"win64") | |||||
WIN32=1 | |||||
WIN64=1 | |||||
CROSS_COMPILING=1 | |||||
;; | |||||
"Linux") | |||||
LINUX=1 | |||||
;; | |||||
"native") | |||||
target=$(uname -s) | |||||
check_target | |||||
;; | |||||
default) | |||||
echo "Invalid target '${target}', possible values are:" | |||||
echo "\tmacos" | |||||
echo "\tmacos-old" | |||||
echo "\twin32" | |||||
echo "\twin64" | |||||
echo "\tnative" | |||||
exit 2 | |||||
;; | |||||
esac | |||||
} | } | ||||
check_target | check_target |