one more time at travis.

This commit is contained in:
Dan Funk 2020-02-05 16:36:52 -05:00
parent af2f710ff4
commit a8d2bd1df5
1 changed files with 3 additions and 2 deletions

View File

@ -11,8 +11,9 @@ before_install:
- cp config/travis-testing.py config/testing.py - cp config/travis-testing.py config/testing.py
- psql -c 'create database crc_test;' -U postgres - psql -c 'create database crc_test;' -U postgres
- docker build -t sartography/cr-connect-workflow . - docker build -t sartography/cr-connect-workflow .
- docker run sartography/cr-connect-workflow /bin/sh -c "pytest" - docker run -d -p 127.0.0.1:5000:5000 sartography/cr-connect-workflow
- docker ps -a
- docker run sartography/cr-connect-workflow /bin/sh -c "pipenv run pytest"
# command to run tests # command to run tests
script: script:
- pytest - pytest