language: python
python:
  - "2.6"
  - "2.7"
  - "3.2"
  - "3.3"
  # - "pypy"  # Travis only has PyPy 1.9, cffi requires 2.0 (Unreleased)
install:
  - sudo apt-get -q install python-pip
  - sudo /usr/bin/pip -q install git+git://github.com/pyinvoke/invoke.git
  - invoke install.sodium
  - invoke install.requirements --dev
script:
  - invoke tests
env:
  global:
    - LD_LIBRARY_PATH=/usr/local/lib
    - LD_RUN_PATH=/usr/local/lib
branches:
  only:
    - master
