Skip to content

Commit

Permalink
bump travis to GCC8
Browse files Browse the repository at this point in the history
  • Loading branch information
RainerKuemmerle committed Dec 8, 2018
1 parent 3908f5c commit 6d505f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ before_script:
- mkdir build
- cd build
- if [[ "$CC" == "gcc" && "$TRAVIS_OS_NAME" == "linux" ]]; then
export CC=gcc-7 ;
export CXX=g++-7 ;
export CC=gcc-8 ;
export CXX=g++-8 ;
fi
- cmake --version
- cmake -DBUILD_UNITTESTS=ON ..
Expand Down
3 changes: 2 additions & 1 deletion script/install-deps-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ sudo apt-get install -qq qtdeclarative5-dev qt5-qmake libqglviewer-dev libsuites

# install new gcc
if [ "$CC" = "gcc" ]; then
sudo apt-get install -qq gcc-7 g++-7
apt-cache search -n "^gcc-[0-9]+$"
sudo apt-get install -qq gcc-8 g++-8
fi

# download eigen3 and unpack it
Expand Down

0 comments on commit 6d505f3

Please sign in to comment.