Skip to content

Commit 610fe18

Browse files
committed
Migrate to CircleCI, or start to anyhow.
1 parent f43d162 commit 610fe18

File tree

3 files changed

+72
-35
lines changed

3 files changed

+72
-35
lines changed

.circleci/config.yml

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
version: 2.1
2+
3+
orbs:
4+
orb: invocations/[email protected]
5+
6+
7+
jobs:
8+
9+
compat:
10+
parameters:
11+
python:
12+
type: string
13+
sphinx:
14+
type: string
15+
executor:
16+
name: orb/default
17+
version: "<< parameters.python >>"
18+
steps:
19+
- orb/setup
20+
# Nuke ourselves and sphinx, for some cleanliness. (Ideal: a way to
21+
# install dev deps + some other tweak, in the same step; can pip do
22+
# that?)
23+
- run: "pip uninstall -y alabaster sphinx"
24+
# Get Sphinx under test, and then reinstall ourselves
25+
- run: "pip install -U sphinx==<< parameters.sphinx >>"
26+
- run: "pip install ."
27+
- run: "pip list --format=columns"
28+
# Make sure we can run (building our own docs, as we dogfood) w/o
29+
# exploding.
30+
# TODO: some suite of canaries to check for in the rendered html? How are
31+
# other themes/plugins testing themselves?
32+
- run: "inv docs"
33+
- orb/debug
34+
35+
36+
workflows:
37+
main:
38+
jobs:
39+
# These will all happen under Python 3.6 by default
40+
- orb/lint:
41+
name: Lint
42+
- orb/format:
43+
name: Style check
44+
- orb/test-release:
45+
name: Release test
46+
- orb/docs:
47+
name: Docs
48+
# We have no tests to matrix, and this is too niche for the orb, so just
49+
# do a bunch of install/run tests on different Python and Sphinx versions
50+
# for compat testing.
51+
- compat:
52+
name: "Docs (Py<< matrix.python >>/Sphinx << matrix.sphinx >>)"
53+
# May as well not burn a lot of credits if something is seriously
54+
# busted.
55+
requires: ["Docs"]
56+
matrix:
57+
parameters:
58+
python: ["3.7", "3.8", "3.9", "3.10", "3.11"]
59+
# TODO: still need to find a way to solve escaping hell on circle
60+
# re: parameters containing >< symbols
61+
sphinx:
62+
- "1.6.7"
63+
- "1.7.9"
64+
- "1.8.6"
65+
- "2.4.5"
66+
- "3.5.4"
67+
- "4.5.0"
68+
- "5.3.0"
69+
- "6.1.3"
70+
exclude: []

.travis.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

docs/changelog.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
Changelog
33
=========
44

5+
- :support:`- backported` Modernized the project: s/Travis/Circle/ for CI,
6+
README badges, ``setup.cfg`` removal, metadata refresh, etc.
57
- :support:`- backported` Dropped support for Python 2 and Python <3.6. This
68
includes various minor updates to work correctly with modern versions of
79
Sphinx (1.6 at the very least). Thanks to Adam Turner for a pile of patches

0 commit comments

Comments
 (0)