machine:
  post:
    - pyenv global 2.7.11 3.4.3

test:
  post:
    - ./setup.py -V | grep dirty -vq

deployment:
  releases:
    tag: /[0-9]+(\.[0-9]+)+((-(beta|rc)[0-9]{1,2})(\.[0-9])?)?/
    owner: palantir
    commands:
      - ./scripts/circle/pypi.sh
