GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — sentry-python/azure-pipelines.yml at master · revimi/sentry-python

Expand file tree

/

azure-pipelines.yml

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
75 lines (67 loc) · 2.04 KB
/

azure-pipelines.yml

Copy path

File metadata and controls

75 lines (67 loc) · 2.04 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# Python package
# Create and test a Python package on multiple Python versions.
# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/python
trigger:
- master
pr: none
resources:
containers:
- container: postgres
image: "postgres:9.6"
ports:
- 5432:5432
jobs:
- job: run_tests
displayName: Tests
pool:
vmImage: "Ubuntu-16.04"
services:
postgres: postgres
strategy:
matrix:
Python27:
python.version: "2.7"
Python34:
python.version: "3.4"
Python35:
python.version: "3.5"
Python36:
python.version: "3.6"
Python37:
python.version: "3.7"
PyPy2:
python.version: "pypy2"
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: "$(python.version)"
architecture: "x64"
- script: |
set -eux
docker ps -a
docker images -a
# FIXME: theoretically we can run psql commands from a docker container, but
# name resolution is a bit tricky here
sudo apt install -y postgresql-client
psql -c 'create database travis_ci_test;' -U postgres -h localhost
psql -c 'create database test_travis_ci_test;' -U postgres -h localhost
displayName: "Create Postgres users"
- script: |
set -eux
python --version
pip --version
pip install tox
pip install codecov
sh scripts/download-semaphore.sh
displayName: "Install dependencies"
- script: |
set -eux
coverage erase
./scripts/runtox.sh '' --cov=sentry_sdk --cov-report= --cov-branch
codecov --file .coverage*
env:
SENTRY_PYTHON_TEST_POSTGRES_USER: postgres
SENTRY_PYTHON_TEST_POSTGRES_NAME: travis_ci_test
AZURE_PYTHON_VERSION: "$(python.version)"
displayName: "Run tests"
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.