debug travis

This commit is contained in:
eggman 2016-06-24 07:41:37 +09:00
parent 833ecc8bb9
commit eda825a0ca

View file

@ -21,13 +21,13 @@ addons:
before_install: before_install:
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then - if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
pushd . pushd .
&& cd ~ && mkdir gcc && cd gcc && mkdir gcc && cd gcc
&& if [ "$GCC_VER" = "4.8" ]; then GCC_URL="https://launchpadlibrarian.net/186124160/gcc-arm-none-eabi-4_8-2014q3-20140805-linux.tar.bz2" ; fi && if [ "$GCC_VER" = "4.8" ]; then GCC_URL="https://launchpadlibrarian.net/186124160/gcc-arm-none-eabi-4_8-2014q3-20140805-linux.tar.bz2" ; fi
&& 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 && 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} && wget -O gcc.tar.bz2 ${GCC_URL}
&& tar -jxf gcc.tar.bz2 --strip 1 && tar -jxf gcc.tar.bz2 --strip 1
&& ls -l ~/gcc/bin && ls -l bin
&& exportline="export PATH=\$HOME/gcc/bin:\$PATH" && exportline="export PATH=\$PWD/bin:\$PATH"
&& if grep -Fxq "$exportline" ~/.profile; then echo nothing to do ; else echo $exportline >> ~/.profile; fi && if grep -Fxq "$exportline" ~/.profile; then echo nothing to do ; else echo $exportline >> ~/.profile; fi
&& . ~/.profile && . ~/.profile
&& popd && popd
@ -35,7 +35,7 @@ before_install:
fi fi
install: install:
- ls -l ~/gcc/bin - ls -l gcc/bin
- printenv PATH - printenv PATH
before_script: before_script: