language: python

python:
  - "2.7"

before_install:
  - curl http://ftp.gnu.org/gnu/lightning/lightning-2.1.0.tar.gz > /tmp/lightning-2.1.0.tar.gz
  - tar xfv /tmp/lightning-2.1.0.tar.gz
  - cd lightning-2.1.0
  - mkdir $HOME/usr
  - ./configure --prefix=$HOME/usr --enable-shared --disable-static --disable-disassembler
  - make -j
  - make -j install
  - cd ..

install:
  - python setup.py -q install

script:
  - LD_LIBRARY_PATH=$HOME/usr/lib:$LD_LIBRARY_PATH python setup.py test

sudo: false

language: python

python:
  - "2.7"

before_install:
  - curl http://ftp.gnu.org/gnu/lightning/lightning-2.1.0.tar.gz > /tmp/lightning-2.1.0.tar.gz
  - tar xfv /tmp/lightning-2.1.0.tar.gz
  - cd lightning-2.1.0
  - mkdir $HOME/usr
  - ./configure --prefix=$HOME/usr --enable-shared --disable-static --disable-disassembler
  - make -j
  - make -j install
  - cd ..

install:
  - python setup.py -q install

script:
  - LD_LIBRARY_PATH=$HOME/usr/lib:$LD_LIBRARY_PATH LD_PRELOAD=$HOME/usr/lib/liblightning.so python setup.py test

sudo: false

Revert "Travis: Attempts to remove preload"
Revert "Travis: Attempts to remove preload"

This reverts commit 391db7bf100809719de3f80de7d51025497b563a.
