Skip to content

Commit 501ad87

Browse files
committed
Travis CI: Next attempt at GCC fix
1 parent c17466f commit 501ad87

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ addons:
2727
- ccache
2828
- clang-3.5
2929
- cmake
30+
- g++-4.9
31+
- gcc-4.9
3032
- genromfs
3133
- libc6-i386
3234
- libncurses5-dev
@@ -53,7 +55,7 @@ before_install:
5355
&& mkdir -p ~/bin
5456
&& wget -O ~/bin/astyle https://github.com/PX4/astyle/releases/download/2.05.1/astyle-linux && chmod +x ~/bin/astyle
5557
&& astyle --version
56-
&& if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
58+
&& if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi
5759
;
5860
elif [ "${TRAVIS_OS_NAME}" = "osx" ]; then
5961
brew tap PX4/homebrew-px4

0 commit comments

Comments
 (0)