Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: switch to circleci #1020

Merged
merged 3 commits into from Nov 25, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
54 changes: 54 additions & 0 deletions .circleci/config.yml
@@ -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.

4 changes: 2 additions & 2 deletions README.rst
Expand Up @@ -5,9 +5,9 @@ Read the Docs Sphinx Theme
.. image:: https://img.shields.io/pypi/v/sphinx_rtd_theme.svg
:target: https://pypi.python.org/pypi/sphinx_rtd_theme
:alt: Pypi Version
.. image:: https://travis-ci.org/readthedocs/sphinx_rtd_theme.svg?branch=master
:target: https://travis-ci.org/readthedocs/sphinx_rtd_theme
.. image:: https://circleci.com/gh/readthedocs/sphinx_rtd_theme.svg?style=svg
:alt: Build Status
:target: https://circleci.com/gh/readthedocs/sphinx_rtd_theme
.. image:: https://img.shields.io/pypi/l/sphinx_rtd_theme.svg
:target: https://pypi.python.org/pypi/sphinx_rtd_theme/
:alt: License
Expand Down
8 changes: 1 addition & 7 deletions 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}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I realize this isn't really a change that you made but I'm surprised py27-sphinx-3* work at all since I think Sphinx3 is Python3 only.


[testenv]
setev =
Expand Down