language: python
python: '3.5'
sudo: false
env:
  global:
    LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
  matrix:
    - TOXENV=check

    - TOXENV=2.6-cover,coveralls
    - TOXENV=2.6-nocov

    - TOXENV=2.7-cover,coveralls
    - TOXENV=2.7-nocov

    - TOXENV=3.3-cover,coveralls
    - TOXENV=3.3-nocov

    - TOXENV=3.4-cover,coveralls
    - TOXENV=3.4-nocov

    - TOXENV=3.5-cover,coveralls
    - TOXENV=3.5-nocov

    - TOXENV=pypy-cover,coveralls
    - TOXENV=pypy-nocov

before_install:
  - python --version
  - uname -a
  - lsb_release -a
install:
  - pip install tox
  - pip install -r requirements.txt
  - virtualenv --version
  - easy_install --version
  - pip --version
  - tox --version
script:
  - tox -v
after_failure:
  - more .tox/log/* | cat
  - more .tox/*/log/* | cat
notifications:
  email:
    on_success: never
    on_failure: always

