language: python
python:
  - "3.5"
sudo: false
env:
  - TOXENV=py27
  - TOXENV=py34
  - TOXENV=py35
  - TOXENV=pypy
  #- TOXENV=pypy3

install:
 - pip install tox
 - pip install coveralls

script:
  - tox

after_success:
  - coveralls

deploy:
  provider: pypi
  user: ethereum_pypi_automated
  password:
    secure: "aekJDPTyOt3xFI+4nJav0Oc6PlaD6R/rmcCH+Br6G3+L5cI5TWOPmukjPw4CZ/Q6HPPZbKV4B6OYDvEcGrt+9gIWPN44cfk7iGe1MFav1B//H+vEXfUEHpNZuNyhsKkKx5RvDHAbmJZv69kgTsm9JGgv0z+Q5b46Zn6erovsBEs="
  on:
    tags: true
    repo: ethereum/pyrlp
    branch: develop
  distributions: "sdist bdist_wheel"
