From 6b9ee7cb3d7a3199a75458b3383de0bda4976e3d Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Thu, 2 May 2019 15:10:26 +0200 Subject: [PATCH] travis-ci: source /etc/profile.d/devkit-env.sh in before_script stage --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 431bba9a..acf57068 100644 --- a/.travis.yml +++ b/.travis.yml @@ -45,6 +45,9 @@ install: - 'if [ "$ATARICROSS" = "1" ] ; then sh ./.install-cross-mint.sh ; fi' - 'if [ "$SWITCH" = "1" ] ; then sh ./.install-switch-toolchain.sh ; fi' +before_script: + - 'if [ "$SWITCH" = "1" ] ; then source /etc/profile.d/devkit-env.sh ; fi' + script: - 'cd $TRAVIS_BUILD_DIR' - 'if [ "$WIN32CROSS" = "1" ] || [ "$TRAVIS_OS_NAME" = "osx" ] || [ "$ATARICROSS" = "1" ] ; then make 3rdparty -j3 ; fi'