Run functional tests for REST API during a build (#506)

* Run tests for REST API
* Added DJANGO_CONFIGURATION with value "testing"
* Fixed crash of python tests
* Update .travis.yml
* Update CHANGELOG.md
* Removed --settings option
main
EvgenyShashkin 7 years ago committed by Nikita Manovich
parent 6025151c6f
commit 8daf7158af

@ -12,5 +12,4 @@ before_script:
- docker-compose -f docker-compose.yml -f docker-compose.ci.yml up --build -d - docker-compose -f docker-compose.yml -f docker-compose.ci.yml up --build -d
script: script:
- docker exec -it cvat /bin/bash -c 'tests/node_modules/.bin/karma start tests/karma.conf.js' - docker exec -it cvat /bin/bash -c 'python3 manage.py test cvat/apps/engine && tests/node_modules/.bin/karma start tests/karma.conf.js'

@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Installation guide - Installation guide
- Linear interpolation for a single point - Linear interpolation for a single point
- Video frame filter - Video frame filter
- Running functional tests for REST API during a build
- Admins are no longer limited to a subset of python commands in the auto annotation application - Admins are no longer limited to a subset of python commands in the auto annotation application
- Remote data source (list of URLs to create an annotation task) - Remote data source (list of URLs to create an annotation task)
- Auto annotation using Faster R-CNN with Inception v2 (utils/open_model_zoo) - Auto annotation using Faster R-CNN with Inception v2 (utils/open_model_zoo)

@ -4,6 +4,7 @@ services:
cvat: cvat:
build: build:
args: args:
DJANGO_CONFIGURATION: "testing"
WITH_TESTS: "yes" WITH_TESTS: "yes"
network: host network: host
environment: environment:

Loading…
Cancel
Save