1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-04 17:16:26 +00:00
gnss-sdr/.travis.yml

44 lines
2.4 KiB
YAML
Raw Normal View History

2014-11-22 11:23:55 +00:00
language: cpp
compiler:
- gcc
- clang
2014-11-22 11:47:00 +00:00
cache: apt
2014-11-22 11:23:55 +00:00
script:
- builddir="${TRAVIS_BUILD_DIR}/src/_build"
- mkdir -p ${builddir}
- cd ${builddir}
- cmake ..
- make
2014-11-22 11:47:00 +00:00
2014-11-22 11:23:55 +00:00
before_install:
2014-11-22 11:47:00 +00:00
- 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"
2014-11-23 10:02:11 +00:00
- sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu $(lsb_release -sc)-security main restricted"
- sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu $(lsb_release -sc)-security universe"
2014-11-22 23:36:27 +00:00
#- 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"
2014-11-23 09:02:49 +00:00
- sudo add-apt-repository "deb http://ppa.launchpad.net/gqrx/snapshots/ubuntu $(lsb_release -sc) main"
2014-11-23 10:02:11 +00:00
# - sudo add-apt-repository "deb http://ppa.launchpad.net/gqrx/releases/ubuntu $(lsb_release -sc) main"
2014-11-23 09:02:49 +00:00
- sudo sh -c "echo deb-src http://ppa.launchpad.net/gqrx/snapshots/ubuntu $(lsb_release -sc) main \ >> /etc/apt/sources.list"
2014-11-23 10:02:11 +00:00
# - sudo sh -c "echo deb-src http://ppa.launchpad.net/gqrx/releases/ubuntu $(lsb_release -sc) main \ >> /etc/apt/sources.list"
2014-11-23 08:54:50 +00:00
#- sudo add-apt-repository -y ppa:gqrx/releases
#- sudo add-apt-repository -y ppa:gqrx/snapshots
2014-11-22 11:47:00 +00:00
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
2014-11-22 11:23:55 +00:00
- sudo apt-get update -qq
2014-11-22 11:47:00 +00:00
- 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
2014-11-22 12:41:13 +00:00
- if [ "$CXX" = "g++" ]; then sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90; fi
2014-11-23 09:40:20 +00:00
- sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5125D2724EAF93B6
2014-11-23 10:18:53 +00:00
# - sudo sh -c "echo net.core.rmem_max = 262144 \ >> /etc/sysctl.conf"
- sudo sh -c "echo 83886080 > /proc/sys/net/core/wmem_max"
2014-11-23 10:09:47 +00:00
- sudo sh -c "echo net.core.wmem_max = 262144 \ >> /etc/sysctl.conf"
- sudo /sbin/sysctl -p
2014-11-23 09:54:10 +00:00
- sudo apt-get install -y cmake git-core g++ libstdc++-4.8-dev libboost-all-dev python-wxgtk2.8 uhd-host gnuradio libarmadillo-dev liblapack-dev libopenblas-dev libssl-dev