machine:
  python:
    version: 3.5.0
  environment:
    BUILD_NUM: "${CIRCLE_BUILD_NUM}"
  post:
    # Make multiple Python versions available for tox testing.
    - pyenv global 3.5.0 3.4.3 2.7.10

dependencies:
  cache_directories:
    - .tox
  override:
    # Deactivate the CircleCI venv so project is installed in penv venv.
    - deactivate; make build devinstall
    # Set up tox environments so they are cached across builds.
    - tox --notest

test:
  override:
    - make test
  post:
    # Deactivate the CircleCI venv so coverage is tested on the right install.
    - deactivate; make coverage coveralls

deployment:
  master:
    branch: master
    owner: chop-dbhi
    commands:
      - make release

machine:
  python:
    version: 3.5.0
  environment:
    BUILD_NUM: "${CIRCLE_BUILD_NUM}"
  post:
    # Make multiple Python versions available for tox testing.
    - pyenv global 3.5.0 3.4.3 2.7.10

dependencies:
  cache_directories:
    - .tox
  override:
    # Deactivate the CircleCI venv so project is installed in penv venv.
    - deactivate; make build devinstall
    # Set up tox environments so they are cached across builds.
    - tox --notest

test:
  override:
    - make test
  post:
    # Deactivate the CircleCI venv so coverage is tested on the right install.
    - deactivate; make coverage coveralls

deployment:
  master:
    branch: master
    owner: chop-dbhi
    commands:
        - VERSION="$(./ci/version.sh)" if [ ${#VERSION} -lt 6 ]; then
          make release; fi

Make CircleCI release on final only
Make CircleCI release on final only

Signed-off-by: Aaron Browne <a437ff1f67cf5e38cd2f6119addad5bba3897ae0@gmail.com>
