1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-05 01:26:24 +00:00
gnss-sdr/.travis.yml
Carles Fernandez 52035092a8 adding uhd
2014-11-23 09:50:34 +01:00

35 lines
1.6 KiB
YAML

language: cpp
compiler:
- gcc
- clang
cache: apt
script:
- builddir="${TRAVIS_BUILD_DIR}/src/_build"
- mkdir -p ${builddir}
- cd ${builddir}
- 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 "deb http://archive.ubuntu.com/ubuntu utopic universe"
#- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu utopic multiverse"
#- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu utopic"
- sudo add-apt-repository "deb http://ppa.launchpad.net/gqrx/snapshots/ubuntu $(lsb_release -sc) main"
- sudo add-apt-repository "deb http://ppa.launchpad.net/gqrx/releases/ubuntu $(lsb_release -sc) main"
- sudo add-apt-repository -y ppa:gqrx/releases
- sudo add-apt-repository -y ppa:gqrx/snapshots
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -qq
- 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
- if [ "$CXX" = "g++" ]; then sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90; fi
- sudo apt-get install -y cmake git-core g++ libstdc++-4.8-dev libboost-all-dev python-wxgtk2.8 uhd gnuradio libarmadillo-dev liblapack-dev libopenblas-dev libssl-dev