mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 12:10:34 +00:00
Trying to use g++ 4.8 in Travis
This commit is contained in:
parent
68205e0bb5
commit
995b2ab391
17
.travis.yml
17
.travis.yml
@ -2,7 +2,10 @@ language: cpp
|
||||
compiler:
|
||||
- gcc
|
||||
- clang
|
||||
# Change this to your needs
|
||||
|
||||
cache: apt
|
||||
|
||||
|
||||
script:
|
||||
- builddir="${TRAVIS_BUILD_DIR}/src/_build"
|
||||
- mkdir -p ${builddir}
|
||||
@ -10,6 +13,16 @@ script:
|
||||
- cmake ..
|
||||
- make
|
||||
|
||||
|
||||
before_install:
|
||||
- cat /proc/cpuinfo
|
||||
- sudo add-apt-repository "deb http://archive.canonical.com/ubuntu $(lsb_release -sc) partner"
|
||||
- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"
|
||||
- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) multiverse"
|
||||
- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) restricted"
|
||||
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get install -y libstdc++-4.8-dev libboost-dev gnuradio libarmadillo-dev liblapack-dev libopenblas-dev gfortran libssl-dev libgflags-dev
|
||||
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
|
||||
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
|
||||
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
|
||||
- sudo apt-get install -y cmake git-core g++ libstdc++-4.8-dev libboost-dev gnuradio libarmadillo-dev liblapack-dev libopenblas-dev gfortran libssl-dev
|
Loading…
Reference in New Issue
Block a user