debug travis

This commit is contained in:
eggman 2016-06-24 09:35:34 +09:00
parent ab00b4ad4e
commit 4383283863

View file

@ -10,6 +10,10 @@ matrix:
- os: linux
sudo: false
env: GCC_VER=4.9
- os: linux
sudo: false
env: GCC_VER=5.0
addons:
apt:
@ -24,23 +28,19 @@ addons:
before_install:
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
pushd .
&& mkdir gcc && cd gcc
&& cd ~ && 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.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-2015-q3-update/+download/gcc-arm-none-eabi-4_9-2015q3-20150921-linux.tar.bz2" ; fi
&& if [ "$GCC_VER" = "4.9" ]; then GCC_URL="https://launchpad.net/gcc-arm-embedded/5.0/5-2016-q1-update/+download/gcc-arm-none-eabi-5_3-2016q1-20160330-linux.tar.bz2" ; fi
&& wget -O gcc.tar.bz2 ${GCC_URL}
&& tar -jxf gcc.tar.bz2 --strip 1
&& ls -l bin
&& exportline="export PATH=\$PWD/bin:\$PATH"
&& exportline="export PATH=\$HOME/bin:\$PATH"
&& if grep -Fxq "$exportline" ~/.profile; then echo nothing to do ; else echo $exportline >> ~/.profile; fi
&& . ~/.profile
&& popd
;
fi
install:
- ls -l gcc/bin
- printenv PATH
before_script:
- arm-none-eabi-gcc --version