fix: #4068 #4247
Merged
fix: #4068 #4247
Travis CI / Travis CI - Pull Request
succeeded
Sep 2, 2025 in 22m 37s
Build Passed
The build passed, just like the previous build.
Details
This is a pull request build.
It is running a build against the merge commit, after merging #4247 fix: #4068.
Any changes that have been made to the master branch before the build ran are also included.
Jobs and Stages
This build has two jobs, running in two sequential stages.
Stage 1: Build, Test & Check Code Quality
This stage passed.
| Job | Python | ENV | OS | State |
|---|---|---|---|---|
| 3.9.21 | COMPOSE_BAKE=true | Linux | passed |
Stage 2: Package & Deployment
This stage passed.
| Job | Python | ENV | OS | State |
|---|---|---|---|---|
| 3.9.21 | COMPOSE_BAKE=true | Linux | passed |
Build Configuration
| Build Option | Setting |
|---|---|
| Language | Python |
| Operating System | Linux (Focal) |
| Python Version | 3.9.21 |
Build Configuration
{
"language": "python",
"os": [
"linux"
],
"dist": "focal",
"sudo": true,
"virt": "vm",
"services": [
"docker",
"xvfb"
],
"python": [
"3.9.21"
],
"cache": {
"directories": [
"$HOME/.cache/pip"
]
},
"env": [
"global={:COMPOSE_BAKE=>\"true\"}={:COMPOSE_BAKE_ARGS=>\"\\\"--build-arg PIP_NO_CACHE_DIR=1\\\"\"}"
],
"before_install": [
"sudo rm -f /etc/boto.cfg",
"export CHROME_BIN=chromium-browser",
"export DISPLAY=:99.0",
"pip install --upgrade pip",
"mkdir -p $HOME/.config/pip",
"echo \"[build_ext]\" > $HOME/.config/pip/pip.conf",
"echo \"parallel = 1\" >> $HOME/.config/pip/pip.conf",
"ulimit -u 16384",
"ulimit -n 4096"
],
"install": [
"pip install awscli==1.18.66"
],
"jobs": {
"fast_finish": true,
"include": [
{
"stage": "Build, Test & Check Code Quality",
"name": "Build, Test & Check Code Quality",
"script": [
"if [ \"$TRAVIS_PULL_REQUEST\" = \"false\" ]; then echo \"$DOCKER_PASSWORD\" | docker login -u \"$DOCKER_USERNAME\" --password-stdin || travis_terminate 1; fi",
"docker-compose --profile worker_py3_7 --profile worker_py3_8 --profile worker_py3_9 --profile statsd build || travis_terminate 1;",
"docker-compose run nodejs bash -c \"npm install && gulp dev && karma start --single-run --reporters=junit,coverage && gulp staging\" || travis_terminate 1;",
"docker-compose run -e DJANGO_SETTINGS_MODULE=settings.test django python manage.py flush --noinput || travis_terminate 1;",
"docker-compose run -e DJANGO_SETTINGS_MODULE=settings.test django pytest --cov . --cov-config .coveragerc --cov-report=xml:coverage-backend.xml --junitxml=junit-backend.xml -o junit_family=legacy || travis_terminate 1;",
"docker-compose run -e DJANGO_SETTINGS_MODULE=settings.dev -e VERBOSE=1 django bash -c \" echo 'Installing black, flake8, pylint and isort...' && pip install black==24.8.0 flake8==3.8.2 pylint==3.3.6 isort==5.12.0 && echo 'Running black check...' && black --check --diff ./ || { echo 'Black check failed!'; travis_terminate 1; } && echo 'Running isort check...' && isort --check-only --diff --profile=black ./ || { echo 'isort check failed!'; travis_terminate 1; } && echo 'Running flake8 check...' && flake8 --config=.flake8 ./ || { echo 'Flake8 check failed!'; travis_terminate 1; } && echo 'Running pylint check...' && pylint --rcfile=.pylintrc --output-format=colorized --score=y --fail-under=7.5 ./ || { echo 'Pylint check failed!'; travis_terminate 1; } && echo 'All code quality checks passed!'\" || travis_terminate 1;"
],
"after_success": [
"pip install codecov-cli",
"codecovcli do-upload --report-type test_results --file junit-backend.xml",
"codecovcli do-upload --report-type test_results --file coverage/frontend/TEST-*.xml || true",
"bash <(curl -s https://codecov.io/bash) -f coverage-backend.xml -F backend",
"bash <(curl -s https://codecov.io/bash) -f coverage/frontend/lcov.info -F frontend"
]
},
{
"stage": "Package & Deployment",
"name": "Push & Deploy Services",
"script": [
"eval \"$(ssh-agent -s)\"",
"openssl aes-256-cbc -K $encrypted_77d2d82026f6_key -iv $encrypted_77d2d82026f6_iv -in scripts/deployment/evalai.pem.enc -out scripts/deployment/evalai.pem -d || true",
"./scripts/deployment/push.sh || travis_terminate 1;",
"./scripts/deployment/deploy.sh auto_deploy || travis_terminate 1;"
]
}
]
},
"before_cache": [
"rm -f $HOME/.cache/pip/log/debug.log"
],
"notifications": {
"email": [
{
"on_success": "change",
"on_failure": "always"
}
],
"slack": [
{
"rooms": [
"cloudcv:gy3CGQGNXLwXOqVyzXGZfdea"
]
}
]
}
}
Loading