diff --git a/.travis.yml b/.travis.yml index 75ebcd3f..e3e17aba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,19 +10,13 @@ python: before_install: - cp config/travis-testing.py config/testing.py - psql -c 'create database crc_test;' -U postgres - -install: - - pip install pipenv pytest - - pipenv install - - pytest # <== This runs in Pipenv (a/k/a virtualenv) + - docker build -t sartography/cr-connect-workflow . + - docker run sartography/cr-connect-workflow /bin/sh -c "pytest" # command to run tests script: - pytest -before_deploy: - - docker build -t sartography/cr-connect-workflow . - deploy: provider: script script: bash docker_push