Skip to content

Instantly share code, notes, and snippets.

@hsercanatli
Last active April 10, 2017 16:25
Show Gist options
  • Save hsercanatli/9152a6f7698daa0794d790ce17d2bae5 to your computer and use it in GitHub Desktop.
Save hsercanatli/9152a6f7698daa0794d790ce17d2bae5 to your computer and use it in GitHub Desktop.
Essentia installation for Python 2.7 in travis-ci
sudo: required
dist: trusty
language: python
python:
- '2.7'
virtualenv:
system_site_packages: true
before_install:
- bash install_essentia.sh
#!/usr/bin/env bash
sudo apt-get install build-essential libyaml-dev libfftw3-dev libavcodec-dev libavformat-dev libavutil-dev libavresample-dev python-dev libsamplerate0-dev libtag1-dev
sudo apt-get install python-numpy-dev python-numpy python-yaml
wget https://github.com/MTG/essentia/archive/v2.1_beta2.tar.gz
tar -xzf v2.1_beta2.tar.gz
cd essentia-2.1_beta2
./waf configure --mode=release --with-python
./waf
sudo ./waf install
python -c 'import essentia'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment