diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 000000000..dc21b81f0 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,46 @@ +version: 2.1 + +commands: + run-tox: + description: "Run tox" + steps: + - checkout + - run: pip install --user tox + - run: tox + +jobs: + py27: + docker: + - image: 'cimg/python:2.7' + environment: + TOXENV: py27 + steps: + - run-tox + py36: + docker: + - image: 'cimg/python:3.6' + environment: + TOXENV: py36 + steps: + - run-tox + py37: + docker: + - image: 'cimg/python:3.7' + environment: + TOXENV: py37 + steps: + - run-tox + py38: + docker: + - image: 'cimg/python:3.8' + environment: + TOXENV: py38 + steps: + - run-tox + py39: + docker: + - image: 'cimg/python:3.9' + environment: + TOXENV: py39 + steps: + - run-tox diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 3c2fc65e2..000000000 --- a/.travis.yml +++ /dev/null @@ -1,15 +0,0 @@ -language: python -python: - - 2.7 - - 3.6 - - 3.7 - - 3.8 -install: - - pip install tox-travis - - pip install sphinx -script: - - tox - -branches: - only: - - master diff --git a/tox.ini b/tox.ini index dafec6eff..fcc2524b9 100644 --- a/tox.ini +++ b/tox.ini @@ -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 =