language: python

env:
  - 'UBUNTU_RELEASE=trusty'

python:
  - 2.7

install:
  - sudo pip install cffi six
  - sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu/ ${UBUNTU_RELEASE} main universe"
  - sudo apt-get update
  - sudo apt-get install python-ceilometer
  - sudo apt-get install libglib2.0-dev
  - sudo ldconfig
  - git clone https://github.com/anchor/libmarquise.git ../libmarquise/
  - cd ../libmarquise/
  - autoreconf -i
  - ./configure
  - make
  - sudo make install
  - sudo su -c "echo '/usr/local/lib' > /etc/ld.so.conf.d/local.conf"
  - sudo ldconfig
  - cd -

script:
  - sudo python setup.py install -I/usr/include/glib-2.0

language: python

env:
  - 'UBUNTU_RELEASE=trusty'

python:
  - 2.7

install:
  - sudo pip install cffi six
  - sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu/ ${UBUNTU_RELEASE} main universe"
  - sudo apt-get update
  - sudo apt-get install python-ceilometer
  - sudo apt-get install libglib2.0-dev
  - sudo ldconfig
  - git clone https://github.com/anchor/libmarquise.git ../libmarquise/
  - cd ../libmarquise/
  - autoreconf -i
  - ./configure
  - make
  - sudo make install
  - sudo su -c "echo '/usr/local/lib' > /etc/ld.so.conf.d/local.conf"
  - sudo ldconfig
  - cd -

script:
  - sudo python setup.py install

Revert "Ubuntu puts glib.h somewhere weird"
Revert "Ubuntu puts glib.h somewhere weird"

This reverts commit 7734fda92220653b3ab88c6eab42a0cf621d8ee4.
