From 2f4cd652ca27b3dd0fcc1608b6e80964b818fef6 Mon Sep 17 00:00:00 2001 From: eggman Date: Fri, 24 Jun 2016 07:15:46 +0900 Subject: [PATCH] mod path setting of travis --- .travis.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4b7f6c0..229f5d3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,15 +26,21 @@ before_install: && if [ "$GCC_VER" = "4.9" ]; then GCC_URL="https://launchpad.net/gcc-arm-embedded/4.9/4.9-2014-q4-major/+download/gcc-arm-none-eabi-4_9-2014q4-20141203-linux.tar.bz2" ; fi && wget -O gcc.tar.bz2 ${GCC_URL} && tar -jxf gcc.tar.bz2 --strip 1 - && exportline="export PATH=$HOME/gcc/bin:\$PATH" - && printenv PATH + && exportline="export PATH=\$HOME/gcc/bin:\$PATH" && if grep -Fxq "$exportline" ~/.profile; then echo nothing to do ; else echo $exportline >> ~/.profile; fi && . ~/.profile + && printenv PATH && popd ; fi -script: +install: + - export PATH=$PATH:$PWD/gcc/bin + - printenv PATH + +before_script: - arm-none-eabi-gcc --version + +script: - make