---
box: wercker/python
services:
    - linkyndy/rethinkdb
build:
    steps:
        - virtualenv:
            install_wheel: false
        - script:
            name: Install remodel
            code: pip install .
        - script:
            name: Install test dependencies
            code: pip install tox
        - script:
            name: Run tests
            code: |
                export RETHINKDB_HOST=$WERCKER_RETHINKDB_HOST
                tox
deploy:
    steps:
        - script:
            name: PyPI upload
            code: |
                echo "[server-login]" > ~/.pypirc
                echo "username:$PYPI_USER" >> ~/.pypirc
                echo "password:$PYPI_PASSWORD" >> ~/.pypirc
                python setup.py sdist upload

---
box: wercker/python
services:
    - linkyndy/rethinkdb
build:
    steps:
        - virtualenv:
            install_wheel: false
        - script:
            name: RethinkDB version
            code: rethinkdb --version
        - script:
            name: Install remodel
            code: pip install .
        - script:
            name: Install test dependencies
            code: pip install tox
        - script:
            name: RethinkDB driver version
            code: pip list
        - script:
            name: Run tests
            code: |
                export RETHINKDB_HOST=$WERCKER_RETHINKDB_HOST
                tox
deploy:
    steps:
        - script:
            name: PyPI upload
            code: |
                echo "[server-login]" > ~/.pypirc
                echo "username:$PYPI_USER" >> ~/.pypirc
                echo "password:$PYPI_PASSWORD" >> ~/.pypirc
                python setup.py sdist upload

Print RethinkDB server and driver versions on build
Print RethinkDB server and driver versions on build
