language: generic
sudo: required
dist: trusty
cache:
  apt: true
virtualenv:
  system_site_packages: true

branches:
  only:
    - master

before_install:
  - SITE_PKG_DIR=$VIRTUAL_ENV/lib/python$TRAVIS_PYTHON_VERSION/site-packages
  - rm -f $VIRTUAL_ENV/lib/python$TRAVIS_PYTHON_VERSION/no-global-site-packages.txt

install:
  - sudo apt-get update -qq
  - sudo apt-get install python python-dev python-clang-3.5 libclang-3.5-dev -qq
  - sudo pip install cython numpy nose coverage

script: nosetests

language: generic
sudo: required
dist: trusty
cache:
  apt: true
virtualenv:
  system_site_packages: true

branches:
  only:
    - master

install:
  - sudo apt-get update -qq
  - sudo apt-get install python python-dev python-clang-3.5 libclang-3.5-dev python-numpy cython python-nose python-coverage -qq

script: nosetests

Use apt for all packages
Use apt for all packages
