Skip to content

Commit 0eada98

Browse files
committed
Update skel; migrate to travis-ci.com.
1 parent 6592810 commit 0eada98

7 files changed

+29
-15
lines changed

.bumpversion.cfg

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ search = version='{current_version}'
88
replace = version='{new_version}'
99

1010
[bumpversion:file:README.rst]
11-
search = v{current_version}.
12-
replace = v{new_version}.
11+
search = /v{current_version}.svg
12+
replace = /v{new_version}.svg
1313

1414
[bumpversion:file:docs/conf.py]
1515
search = version = release = '{current_version}'
@@ -18,4 +18,3 @@ replace = version = release = '{new_version}'
1818
[bumpversion:file:src/pytest_cov/__init__.py]
1919
search = __version__ = '{current_version}'
2020
replace = __version__ = '{new_version}'
21-

.cookiecutterrc

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
# Generated by cookiepatcher, a small shim around cookiecutter (pip install cookiepatcher)
22

3-
cookiecutter:
4-
_extensions:
5-
- jinja2_time.TimeExtension
6-
_template: /home/ionel/open-source/cookiecutter-pylibrary
3+
default_context:
74
allow_tests_inside_package: no
85
appveyor: yes
96
c_extension_function: '-'
@@ -23,7 +20,7 @@ cookiecutter:
2320
distribution_name: pytest-cov
2421
2522
full_name: Ionel Cristian Mărieș
26-
landscape: no
23+
legacy_python: yes
2724
license: MIT license
2825
linter: flake8
2926
package_name: pytest_cov
@@ -50,7 +47,7 @@ cookiecutter:
5047
test_runner: pytest
5148
travis: yes
5249
travis_osx: no
53-
version: 2.10.0
50+
version: 2.10.1
5451
website: http://blog.ionelmc.ro
5552
year_from: '2010'
5653
year_to: '2020'

.editorconfig

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
root = true
33

44
[*]
5+
# Use Unix-style newlines for most files (except Windows files, see below).
56
end_of_line = lf
67
trim_trailing_whitespace = true
7-
insert_final_newline = true
88
indent_style = space
9+
insert_final_newline = true
910
indent_size = 4
1011
charset = utf-8
1112

@@ -14,3 +15,6 @@ end_of_line = crlf
1415

1516
[*.{yml,yaml}]
1617
indent_size = 2
18+
19+
[*.tsv]
20+
indent_style = tab

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,14 @@ htmlcov
3939
# Translations
4040
*.mo
4141

42-
# Mr Developer
42+
# Buildout
4343
.mr.developer.cfg
44+
45+
# IDE project files
4446
.project
4547
.pydevproject
4648
.idea
49+
.vscode
4750
*.iml
4851
*.komodoproject
4952

CONTRIBUTING.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ For merging, you should:
7474
4. Add yourself to ``AUTHORS.rst``.
7575

7676
.. [1] If you don't have all the necessary python versions available locally you can rely on Travis - it will
77-
`run the tests <https://travis-ci.org/pytest-dev/pytest-cov/pull_requests>`_ for each change you add in the pull request.
77+
`run the tests <https://travis-ci.com//github/pytest-dev/pytest-cov/pull_requests>`_
78+
for each change you add in the pull request.
7879
7980
It will be slower though ...
8081
@@ -85,6 +86,6 @@ To run a subset of tests::
8586

8687
tox -e envname -- pytest -k test_myfeature
8788

88-
To run the test environments in *parallel*::
89+
To run all the test environments in *parallel*::
8990

9091
tox -p auto

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ Overview
1919
:target: https://readthedocs.org/projects/pytest-cov
2020
:alt: Documentation Status
2121

22-
.. |travis| image:: https://api.travis-ci.org/pytest-dev/pytest-cov.svg?branch=master
22+
.. |travis| image:: https://api.travis-ci.com/pytest-dev/pytest-cov.svg?branch=master
2323
:alt: Travis-CI Build Status
24-
:target: https://travis-ci.org/pytest-dev/pytest-cov
24+
:target: https://travis-ci.com/github/pytest-dev/pytest-cov
2525

2626
.. |appveyor| image:: https://ci.appveyor.com/api/projects/status/github/pytest-dev/pytest-cov?branch=master&svg=true
2727
:alt: AppVeyor Build Status

tox.ini

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
[testenv:bootstrap]
2+
deps =
3+
jinja2
4+
matrix
5+
tox
6+
skip_install = true
7+
commands =
8+
python ci/bootstrap.py --no-env
9+
passenv =
10+
*
111
; a generative tox configuration, see: https://tox.readthedocs.io/en/latest/config.html#generative-envlist
212

313
[tox]

0 commit comments

Comments
 (0)