machine:
  python:
    version: 2.7.12

dependencies:
  override:
    - pip install --upgrade pip wheel  # pip >= 8.0 needed to be compatible with "manylinux" wheels, used by numpy >= 1.11
    - pip install --editable .[test]
test:
  pre:
    - git fetch
  override:
    - make test
    - ./check-version-bump.sh
deployment:
  tag:
    branch: master
    commands:
      - git tag `python setup.py --version`
      - git push --tags
  production:
    branch: master
    commands:
      - ssh deploy-new-api@api-test.openfisca.fr

machine:
  python:
    version: 2.7.12

dependencies:
  override:
    - pip install --upgrade pip wheel  # pip >= 8.0 needed to be compatible with "manylinux" wheels, used by numpy >= 1.11
    - pip install twine
    - pip install --editable .[test]
test:
  pre:
    - git fetch
  override:
    - make test
    - ./check-version-bump.sh
deployment:
  master:
    branch: master
    commands:
      - git tag `python setup.py --version`
      - git push --tags
      - python setup.py bdist_wheel
      - twine upload dist/* --username openfisca-bot --password $PYPI_PASSWORD
      - ssh deploy-new-api@api-test.openfisca.fr

Move Pypi releasing to Circle
Move Pypi releasing to Circle
