diff --git a/.travis.yml b/.travis.yml index d7bf6ed..0bb43be 100644 --- a/.travis.yml +++ b/.travis.yml @@ -46,11 +46,11 @@ matrix: PLATFORM=rpi MNT=/home/travis/mnt -before_install: "[ -f ./.travis/before_install.sh ] && ./.travis/before_install.sh" -install: "[ -f ./.travis/install.sh ] && ./.travis/install.sh" -before_script: "[ -f ./.travis/before_script.sh ] && ./.travis/before_script.sh" -script: "[ -f ./.travis/script.sh ] && ./.travis/script.sh" -after_script: "[ -f ./.travis/after_script.sh ] && ./.travis/after_script.sh" +before_install: "if [ -f ./.travis/before_install.sh ] ; then ./.travis/before_install.sh ; fi" +install: "if [ -f ./.travis/install.sh ] ; then ./.travis/install.sh ; fi" +before_script: "if [ -f ./.travis/before_script.sh ] ; then ./.travis/before_script.sh ; fi" +script: "if [ -f ./.travis/script.sh ] ; then ./.travis/script.sh ; fi" +after_script: "if [ -f ./.travis/after_script.sh ] ; then ./.travis/after_script.sh ; fi" deploy: provider: releases