forked from cvat-ai/cvat
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request cvat-ai#2107 from opencv/release-1.1.0
Release 1.1.0
- Loading branch information
Showing
656 changed files
with
37,863 additions
and
51,744 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"extends": "stylelint-config-standard", | ||
"rules": { | ||
"indentation": 4, | ||
"value-keyword-case": null, | ||
"selector-combinator-space-after": null, | ||
"no-descending-specificity": null, | ||
"at-rule-no-unknown": [true, { | ||
"ignoreAtRules": ["extend"] | ||
}], | ||
"selector-type-no-unknown": [true, { | ||
"ignoreTypes": ["first-child"] | ||
}] | ||
}, | ||
"ignoreFiles": [ | ||
"**/*.js", | ||
"**/*.ts", | ||
"**/*.py" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,12 +5,29 @@ language: python | |
python: | ||
- "3.5" | ||
|
||
cache: | ||
npm: true | ||
directories: | ||
- ~/.cache | ||
|
||
addons: | ||
apt: | ||
packages: | ||
- libgconf-2-4 | ||
|
||
services: | ||
- docker | ||
|
||
env: | ||
- CONTAINER_COVERAGE_DATA_DIR="/coverage_data" | ||
HOST_COVERAGE_DATA_DIR="${TRAVIS_BUILD_DIR}" | ||
DJANGO_SU_NAME="admin" | ||
DJANGO_SU_EMAIL="[email protected]" | ||
DJANGO_SU_PASSWORD="12qwaszx" | ||
NODE_VERSION="12" | ||
|
||
before_install: | ||
- nvm install ${NODE_VERSION} | ||
|
||
before_script: | ||
- docker-compose -f docker-compose.yml -f docker-compose.ci.yml build | ||
|
@@ -20,6 +37,13 @@ script: | |
# FIXME: Git package and application name conflict in PATH and try to leave only one python test execution | ||
- docker-compose -f docker-compose.yml -f docker-compose.ci.yml run cvat_ci /bin/bash -c 'coverage run -a manage.py test cvat/apps && coverage run -a manage.py test --pattern="_test*.py" cvat/apps/dataset_manager/tests cvat/apps/engine/tests utils/cli && coverage run -a manage.py test datumaro/ && mv .coverage ${CONTAINER_COVERAGE_DATA_DIR}' | ||
- docker-compose -f docker-compose.yml -f docker-compose.ci.yml run cvat_ci /bin/bash -c 'cd cvat-data && npm install && cd ../cvat-core && npm install && npm run test && coveralls-lcov -v -n ./reports/coverage/lcov.info > ${CONTAINER_COVERAGE_DATA_DIR}/coverage.json' | ||
# Up all containers | ||
- docker-compose up -d | ||
# Create superuser | ||
- docker exec -it cvat bash -ic "echo \"from django.contrib.auth.models import User; User.objects.create_superuser('${DJANGO_SU_NAME}', '${DJANGO_SU_EMAIL}', '${DJANGO_SU_PASSWORD}')\" | python3 ~/manage.py shell" | ||
# Install Cypress and run tests | ||
- cd ./tests && npm install | ||
- $(npm bin)/cypress run --headless --browser chrome && cd .. | ||
|
||
after_success: | ||
# https://coveralls-python.readthedocs.io/en/latest/usage/multilang.html | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.