language: python

python:
  - "2.6"
  - "2.7"
  - "3.3"
  - "3.4"
  - "3.5"
  - "3.6"

before_install:
  - sudo apt-get -qq update
  - sudo apt-get install -y libmagic-dev libjansson-dev

install:
  - python setup.py build --enable-magic --enable-cuckoo -I/usr/include -L/usr/lib
  - python setup.py install

script:
  - python tests.py

language: python

python:
  - "2.6"
  - "2.7"
  - "3.3"
  - "3.4"
  - "3.5"
  - "3.6"

before_install:
  - sudo apt-get -qq update
  - sudo apt-get install -y libmagic-dev libjansson-dev

install:
  - python setup.py build_ext --enable-magic --enable-cuckoo -I/usr/include -L/usr/lib
  - python setup.py install

script:
  - python tests.py

Change build command to build_ext
Change build command to build_ext
