mirror of
https://github.com/eggman/rtl_ameba_gcc_sample.git
synced 2024-11-01 03:34:17 +00:00
mod path setting of travis
This commit is contained in:
parent
b6de262366
commit
2f4cd652ca
1 changed files with 9 additions and 3 deletions
12
.travis.yml
12
.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
|
&& 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
|
||||||
&& exportline="export PATH=$HOME/gcc/bin:\$PATH"
|
&& exportline="export PATH=\$HOME/gcc/bin:\$PATH"
|
||||||
&& printenv 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
|
||||||
|
&& printenv PATH
|
||||||
&& popd
|
&& popd
|
||||||
;
|
;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
script:
|
install:
|
||||||
|
- export PATH=$PATH:$PWD/gcc/bin
|
||||||
|
- printenv PATH
|
||||||
|
|
||||||
|
before_script:
|
||||||
- arm-none-eabi-gcc --version
|
- arm-none-eabi-gcc --version
|
||||||
|
|
||||||
|
script:
|
||||||
- make
|
- make
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue