Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add django workers tests #4411

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Add django workers tests

e000167
Select commit
Loading
Failed to load commit list.
Open

Add django workers tests #4411

Add django workers tests
e000167
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Aug 28, 2024 in 22m 18s

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 #4411 Add django workers tests.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.

Build Configuration

Build Option Setting
Language Python
Operating System Linux (Xenial)
Python Version 3.7.5
Build Configuration
{
  "language": "python",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "sudo": false,
  "services": [
    "docker",
    "xvfb"
  ],
  "python": [
    "3.7.5"
  ],
  "cache": {
    "directories": [
      "$HOME/.cache/pip"
    ]
  },
  "before_install": [
    "sudo rm -f /etc/boto.cfg",
    "export CHROME_BIN=chromium-browser",
    "export DISPLAY=:99.0"
  ],
  "install": [
    "pip install awscli==1.18.66 flake8==3.8.2"
  ],
  "script": [
    "flake8 ./ || travis_terminate 1;",
    "if [ \"$TRAVIS_PULL_REQUEST\" = \"false\" ]; then echo \"$DOCKER_PASSWORD\" | docker login -u \"$DOCKER_USERNAME\" --password-stdin || travis_terminate 1; fi",
    "docker-compose build || travis_terminate 1;",
    "docker-compose run nodejs bash -c \"gulp dev && karma start --single-run && gulp staging\" || travis_terminate 1;",
    "docker-compose run -e DJANGO_SETTINGS_MODULE=settings.test django pytest --cov . --cov-config .coveragerc || travis_terminate 1;"
  ],
  "before_cache": [
    "rm -f $HOME/.cache/pip/log/debug.log"
  ],
  "after_success": [
    "bash <(curl -s https://codecov.io/bash)",
    "coveralls --rcfile=.coveragerc",
    "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",
    "./scripts/deployment/deploy.sh auto_deploy"
  ],
  "notifications": {
    "email": [
      {
        "slack": "cloudcv:gy3CGQGNXLwXOqVyzXGZfdea",
        "on_success": "change",
        "on_failure": "always"
      }
    ]
  }
}