Browse Source

Update travis config to use runtime as target

pull/1088/head
Hironsan 4 years ago
parent
commit
cc81795c66
1 changed files with 1 additions and 1 deletions
  1. 2
      .travis.yml

2
.travis.yml

@ -33,7 +33,7 @@ install:
- pip install --no-cache-dir mkdocs==1.1 mkdocs-material==4.6.3
script:
- docker build --target=backend-builder --tag=doccano-test .
- docker build --target=runtime --tag=doccano-test .
- >
if [[ "${DATABASE}" != "sqlite" ]]; then
docker run --network doccano -e DATABASE_URL="${DATABASE_URL}" -it doccano-test sh -c 'app/manage.py wait_for_db && app/manage.py migrate && app/manage.py test api.tests server.tests'

Loading…
Cancel
Save