Update travis

This commit is contained in:
Jared Szechy
2018-07-01 10:07:39 -04:00
parent 98f9e36291
commit f175834e45
2 changed files with 6 additions and 37 deletions

View File

@@ -1,27 +1,22 @@
language: cpp
dist: trusty
sudo: false
cache:
directories:
- $HOME/itpp
compiler:
- gcc
addons:
apt:
sources:
- sourceline: 'ppa:szechyjs/dsd'
packages:
- libmbe-dev
- libsndfile1-dev
- libfftw3-dev
- liblapack3gf
- libblas3gf
install:
- bash travis_deps.sh
- libitpp-dev
- portaudio19-dev
before_script:
- export CMAKE_PREFIX_PATH=$HOME/mbelib:$HOME/itpp
- mkdir build
- cd build
- cmake ..

View File

@@ -1,26 +0,0 @@
#!/bin/sh
set -ex
# Install mbelib
wget https://github.com/szechyjs/mbelib/archive/master.tar.gz -O mbelib.tar.gz
tar -xzf mbelib.tar.gz
cd mbelib-master
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=$HOME/mbelib ..
make
make install
# Install IT++ from SF
if [ ! -d "$HOME/itpp/lib" ]; then
wget http://sourceforge.net/projects/itpp/files/itpp/4.3.1/itpp-4.3.1.tar.gz/download -O itpp-4.3.1.tar.gz
tar -xzf itpp-4.3.1.tar.gz
cd itpp-4.3.1
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=$HOME/itpp ..
make
make install
else
echo 'Using cached itpp.';
fi