mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-27 10:17:45 +08:00
Upgrade Travis to CMake .32
This commit is contained in:
+5
-2
@@ -21,12 +21,10 @@ addons:
|
|||||||
sources:
|
sources:
|
||||||
- kubuntu-backports
|
- kubuntu-backports
|
||||||
- ubuntu-toolchain-r-test
|
- ubuntu-toolchain-r-test
|
||||||
- george-edison55-precise-backports
|
|
||||||
packages:
|
packages:
|
||||||
- build-essential
|
- build-essential
|
||||||
- ccache
|
- ccache
|
||||||
- clang-3.5
|
- clang-3.5
|
||||||
- cmake-3.2
|
|
||||||
- g++-4.8
|
- g++-4.8
|
||||||
- gcc-4.8
|
- gcc-4.8
|
||||||
- genromfs
|
- genromfs
|
||||||
@@ -44,6 +42,11 @@ before_install:
|
|||||||
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
|
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
|
||||||
pushd .
|
pushd .
|
||||||
&& cd ~
|
&& cd ~
|
||||||
|
&& wget http://www.cmake.org/files/v3.2/cmake-3.2.2-Linux-x86_64.sh -O /tmp/cmake_install.sh
|
||||||
|
&& mkdir -p cmake
|
||||||
|
&& sh /tmp/cmake_install.sh --exclude-subdir --prefix=${HOME}/cmake
|
||||||
|
&& export PATH="${HOME}/cmake/bin:${PATH}"
|
||||||
|
&& cmake --version
|
||||||
&& wget https://launchpadlibrarian.net/186124160/gcc-arm-none-eabi-4_8-2014q3-20140805-linux.tar.bz2
|
&& wget https://launchpadlibrarian.net/186124160/gcc-arm-none-eabi-4_8-2014q3-20140805-linux.tar.bz2
|
||||||
&& tar -jxf gcc-arm-none-eabi-4_8-2014q3-20140805-linux.tar.bz2
|
&& tar -jxf gcc-arm-none-eabi-4_8-2014q3-20140805-linux.tar.bz2
|
||||||
&& exportline="export PATH=$HOME/gcc-arm-none-eabi-4_8-2014q3/bin:\$PATH"
|
&& exportline="export PATH=$HOME/gcc-arm-none-eabi-4_8-2014q3/bin:\$PATH"
|
||||||
|
|||||||
Reference in New Issue
Block a user