Skip to content

Commit 1ae9c0a

Browse files
authored
Merge pull request #47 from python-tableformatter/azure_pipelines_fix
Attempt to fix test runs on Azure pipelines
2 parents 89fb4ee + 7263624 commit 1ae9c0a

File tree

4 files changed

+25
-9
lines changed

4 files changed

+25
-9
lines changed

.travis.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,24 @@ sudo: false # false enables container-based build for fast boot times on Linux
44

55
matrix:
66
include:
7-
- os: linux
8-
python: 3.4
9-
env: TOXENV=py34
107
- os: linux
118
python: 3.5
129
env: TOXENV=py35
1310
- os: linux
1411
python: 3.6
1512
env: TOXENV=py36
1613
- os: linux
17-
python: 3.7-dev
14+
python: 3.7
15+
dist: xenial
1816
env: TOXENV=py37
1917
- os: linux
20-
python: 3.8-dev
18+
python: 3.8
2119
dist: xenial
2220
env: TOXENV=py38
21+
- os: linux
22+
python: 3.9-dev
23+
dist: xenial
24+
env: TOXENV=py39
2325
# # Warning: Don't try to use code coverage analysis with pypy as it is insanely slow
2426
# - os: linux
2527
# python: pypy3

Pipfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ typing = {version = "*",markers = "python_version < '3.5'"}
1212
tableformatter = {editable = true,path = "."}
1313
colorama = "*"
1414
colored = "*"
15+
cmd2 = "*"
1516
flake8 = "*"
1617
invoke = "*"
1718
ipython = "*"
19+
isort = "*"
20+
numpy = "*"
21+
pandas = "*"
1822
pytest = "*"
1923
pytest-cov = "*"
2024
twine = ">=1.11"
21-
cmd2 = "*"
22-
numpy = "*"
23-
pandas = "*"

azure-pipelines.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99

1010
# Configure Build Environment to use Azure Pipelines to build tableformatter Python project using macOS
1111
pool:
12-
vmImage: 'macOS 10.13' # other options 'Ubuntu 16.04', 'VS2017-Win2016'
12+
vmImage: 'macOS-latest'
1313

1414
# Run the pipeline with multiple Python versions
1515
strategy:
@@ -20,6 +20,8 @@ jobs:
2020
python.version: '3.6'
2121
Python37:
2222
python.version: '3.7'
23+
Python38:
24+
python.version: '3.8'
2325
# Increase the maxParallel value to simultaneously run the job for all versions in the matrix (max 10 for free open-source)
2426
maxParallel: 3
2527

setup.cfg

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[flake8]
2+
exclude = .git,.idea,.pytest_cache,.tox,.venv,.vscode,build,tableformatter.egg-info,dist,htmlcov,__pycache__,*.egg
3+
max-line-length = 127
4+
max-complexity = 26
5+
6+
[isort]
7+
line_length=127
8+
multi_line_output = 3
9+
include_trailing_comma = true
10+
force_grid_wrap = 0
11+
use_parentheses = true

0 commit comments

Comments
 (0)