diff options
| author | 2021-01-02 20:23:17 -0800 | |
|---|---|---|
| committer | 2021-01-02 20:23:17 -0800 | |
| commit | 01406f86ad9b83d5b378c3e264c5d8b3e767ac4c (patch) | |
| tree | 046895a131aaba337f1489485478f6678eec696e /azure-pipelines.yml | |
| parent | Merge branch 'feat/F4zi/CommandSuggestion' of https://github.com/python-disco... (diff) | |
| parent | Merge pull request #1334 from python-discord/bug/precommit-pycharm (diff) | |
Rebased after a long time of being abandon
Since the cogs folder has been removed, the error_handler and tag cogs had to be removed and transfer into their respective places in the exts folder.
Diffstat (limited to 'azure-pipelines.yml')
| -rw-r--r-- | azure-pipelines.yml | 67 | 
1 files changed, 0 insertions, 67 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index 874364a6f..000000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,67 +0,0 @@ -# https://aka.ms/yaml - -variables: -  PIPENV_HIDE_EMOJIS: 1 -  PIPENV_IGNORE_VIRTUALENVS: 1 -  PIPENV_NOSPIN: 1 - -jobs: -  - job: test -    displayName: 'Lint & Test' -    pool: -      vmImage: ubuntu-16.04 - -    variables: -      PIP_CACHE_DIR: ".cache/pip" - -    steps: -      - task: UsePythonVersion@0 -        displayName: 'Set Python version' -        inputs: -          versionSpec: '3.7.x' -          addToPath: true - -      - script: pip install pipenv -        displayName: 'Install pipenv' - -      - script: pipenv install --dev --deploy --system -        displayName: 'Install project using pipenv' - -      - script: python -m flake8 -        displayName: 'Run linter' - -      - script: BOT_API_KEY=foo BOT_SENTRY_DSN=blah BOT_TOKEN=bar WOLFRAM_API_KEY=baz REDDIT_CLIENT_ID=spam REDDIT_SECRET=ham coverage run -m xmlrunner -        displayName: Run tests - -      - script: coverage report -m && coverage xml -o coverage.xml -        displayName: Generate test coverage report - -      - task: PublishCodeCoverageResults@1 -        displayName: 'Publish Coverage Results' -        condition: succeededOrFailed() -        inputs: -          codeCoverageTool: Cobertura -          summaryFileLocation: coverage.xml - -      - task: PublishTestResults@2 -        condition: succeededOrFailed() -        displayName: 'Publish Test Results' -        inputs: -          testResultsFiles: '**/TEST-*.xml' -          testRunTitle: 'Bot Test Results' - -  - job: build -    displayName: 'Build & Push Container' -    dependsOn: 'test' -    condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.SourceBranch'], 'refs/heads/master')) - -    steps: -      - task: Docker@2 -        displayName: 'Build & Push Container' -        inputs: -          containerRegistry: 'DockerHub' -          repository: 'pythondiscord/bot' -          command: 'buildAndPush' -          Dockerfile: 'Dockerfile' -          buildContext: '.' -          tags: 'latest'  |