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 language: cpp
dist: trusty
sudo: false sudo: false
cache:
directories:
- $HOME/itpp
compiler: compiler:
- gcc - gcc
addons: addons:
apt: apt:
sources:
- sourceline: 'ppa:szechyjs/dsd'
packages: packages:
- libmbe-dev
- libsndfile1-dev - libsndfile1-dev
- libfftw3-dev - libitpp-dev
- liblapack3gf - portaudio19-dev
- libblas3gf
install:
- bash travis_deps.sh
before_script: before_script:
- export CMAKE_PREFIX_PATH=$HOME/mbelib:$HOME/itpp
- mkdir build - mkdir build
- cd build - cd build
- cmake .. - 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