Skip to content

Commit

Permalink
Migrate Docker image to modern CircleCI images
Browse files Browse the repository at this point in the history
  • Loading branch information
movermeyer committed Oct 27, 2022
1 parent 7ef83ea commit 923c9f3
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,29 @@ version: 2.1
workflows:
workflow:
jobs:
- test_python_34
- test:
matrix:
parameters:
python_version: ["2.7", "3.4", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
python_version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
- test_pypy:
matrix:
parameters:
python_version: ["2.7", "3.7", "3.8"]
- lint-rst

jobs:
# `cimg/python` doesn't support Python 3.4,
# but old `circleci/python` is still around!
test_python_34:
steps:
- checkout
- run:
name: Test
command: python setup.py test
docker:
- image: circleci/python:3.4

test:
parameters:
python_version:
Expand All @@ -24,7 +36,7 @@ jobs:
name: Test
command: python setup.py test
docker:
- image: circleci/python:<<parameters.python_version>>
- image: cimg/python:<<parameters.python_version>>

test_pypy:
parameters:
Expand Down Expand Up @@ -54,4 +66,4 @@ jobs:
. venv/bin/activate
rst-lint --encoding=utf-8 README.rst
docker:
- image: circleci/python:3.11
- image: cimg/python:3.11

0 comments on commit 923c9f3

Please sign in to comment.