Browse Source

Update travis config to use backend builder

pull/1088/head
Hironsan 3 years ago
parent
commit
88bf8ea8b3
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=builder --tag=doccano-test .
- docker build --target=backend-builder --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