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

Update dependencies #399

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

update gitignore for training-generated files

849fa18
Select commit
Loading
Failed to load commit list.
Open

Update dependencies #399

update gitignore for training-generated files
849fa18
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch succeeded Aug 7, 2024 in 34m 40s

Build Passed

The build passed, just like the previous build.

Details

This is a normal build for the ah/dependency branch. You should be able to reproduce it by checking out the branch locally.

Jobs and Stages

This build has three jobs, running in parallel.

Job Python ENV OS State
2210.1 3.8 TWINE_USERNAME="__token__" Linux passed
2210.2 3.9 TWINE_USERNAME="__token__" Linux passed
2210.3 3.10 TWINE_USERNAME="__token__" Linux passed

Build Configuration

Build Option Setting
Language Python
Operating System Linux (Bionic)
Build Configuration
{
  "language": "python",
  "os": [
    "linux"
  ],
  "dist": "bionic",
  "jobs": {
    "include": [
      {
        "python": "3.8",
        "env": [
          {
            "PYTAG": "\"py38\""
          }
        ]
      },
      {
        "python": "3.9",
        "env": [
          {
            "PYTAG": "\"py39\""
          }
        ]
      },
      {
        "python": "3.10",
        "env": [
          {
            "PYTAG": "\"py310\""
          }
        ]
      }
    ]
  },
  "env": [
    "global={:TWINE_USERNAME=>\"\\\"__token__\\\"\"}={:TWINE_PASSWORD=>\"$PYPITOKEN\"}"
  ],
  "install": [
    "pip install --upgrade pip",
    "pip install --upgrade packaging",
    "pip install --upgrade setuptools",
    "pip install .",
    "pip install -r requirements-test.txt",
    "pip install codecov"
  ],
  "script": [
    "pylint deeplite_torch_zoo/api/ --ignore-docstrings yes --ignore-comments yes --disable=W0614,W0401,W0613,C0301,E0401,C0415",
    "pylint deeplite_torch_zoo/utils/ --ignore-docstrings yes --ignore-comments yes --disable=W0614,W0401,W0613,C0301,E0401,C0415",
    "pytest",
    "codecov",
    "python training_scripts/object_detection/train.py --model_name yolo8n --dataset coco8 --dryrun",
    "python training_scripts/classification/ultralytics/train.py --model resnet12 --dataset imagewoof_160 --dryrun",
    "python training_scripts/classification/cifar/train_cifar.py --model resnet18 --dataset cifar100 --dryrun",
    "python training_scripts/classification/imagenet/train.py --data-dir ./ --dataset imagewoof_160 --model resnet12 --dryrun --device cpu --dataset-download"
  ],
  "before_deploy": [
    "pip install markupsafe==2.0.1",
    "python setup.py install",
    "pip install twine",
    "python setup.py bdist_wheel --python-tag $PYTAG",
    "pip install s3pypi==0.11.1"
  ],
  "deploy": [
    {
      "provider": "releases",
      "token": "$GITHUB_TOKEN",
      "skip_cleanup": true,
      "name": "v$TRAVIS_TAG",
      "overwrite": true,
      "file_glob": true,
      "file": [
        "dist/*"
      ],
      "on": {
        "branch": [
          "master"
        ],
        "tags": true,
        "condition": [
          "$TRAVIS_TAG =~ -release$"
        ]
      }
    },
    {
      "provider": "script",
      "script": "python3 -m twine upload --skip-existing dist/*.whl",
      "skip_cleanup": true,
      "on": {
        "branch": [
          "master"
        ],
        "tags": true,
        "condition": [
          "$TRAVIS_TAG =~ -release$"
        ]
      }
    },
    {
      "provider": "script",
      "script": "s3pypi --bucket $AWS_BUCKET --region $AWS_REGION --force --private --no-sdist --dist-path dist --secret deeplite-stage",
      "skip_cleanup": true,
      "on": {
        "branch": [
          "master"
        ],
        "tags": true,
        "condition": [
          "$TRAVIS_TAG =~ -stage$"
        ]
      }
    }
  ]
}