Skip to content

Commit

Permalink
CI: switch to circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
stsewd committed Nov 25, 2020
1 parent e2b60d7 commit 10c1aaf
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 22 deletions.
54 changes: 54 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
version: 2.1

commands:
run-tox:
description: "Run tox"
parameters:
version:
type: string
steps:
- checkout
- run: pip install --user tox
- run: tox -e "<<parameters.version>>-sphinx{16,17,18,20,21,22,23,24,30,31,32}"

jobs:
py27:
docker:
- image: 'cimg/python:2.7'
steps:
- run-tox:
version: py27
py36:
docker:
- image: 'cimg/python:3.6'
steps:
- run-tox:
version: py36
py37:
docker:
- image: 'cimg/python:3.7'
steps:
- run-tox:
version: py37
py38:
docker:
- image: 'cimg/python:3.8'
steps:
- run-tox:
version: py38
py39:
docker:
- image: 'cimg/python:3.9'
steps:
- run-tox:
version: py39

workflows:
version: 2
tests:
jobs:
- py39
- py38
- py37
- py36
- py27
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

8 changes: 1 addition & 7 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
[tox]
envlist = py{27,36,37,38}-sphinx{16,17,18,20,21,22,23,24,30,31,32}

[tox:travis]
2.7 = py27-sphinx{16,17,18,20,21,22,23,24,30,31,32}
3.6 = py36-sphinx{16,17,18,20,21,22,23,24,30,31,32}
3.7 = py37-sphinx{16,17,18,20,21,22,23,24,30,31,32}
3.8 = py38-sphinx{16,17,18,20,21,22,23,24,30,31,32}
envlist = py{27,36,37,38,39}-sphinx{16,17,18,20,21,22,23,24,30,31,32}

[testenv]
setev =
Expand Down

0 comments on commit 10c1aaf

Please # to comment.