Daniel Hahler
58ef95ed4d
ci: fix Travis ( #236 ) ( #6786 )
2020-02-21 12:50:54 +01:00
Ran Benita
c3e53a072d
Switch to new git workflow
...
Co-Authored-By: Daniel Hahler <git@thequod.de>
2020-02-12 09:49:21 +02:00
Daniel Hahler
12824e6279
ci: Travis: remove non-py35 jobs
2020-02-10 10:59:28 +01:00
Daniel Hahler
a62d9a40e7
ci: Travis: 3.5.1: upgrade pip, setuptools, virtualenv
...
Ref: https://github.com/jaraco/zipp/issues/40
2020-02-10 10:53:42 +01:00
Daniel Hahler
f8654e6656
ci: Travis: removing linting,docs,doctesting
...
This is handled by GHA already, and not affected/required for coverage.
2020-01-24 17:26:10 +01:00
Daniel Hahler
a8d67f5e7b
ci: codecov: add flags for GHA/Travis
...
This would help with debugging missing coverage when removing Travis
jobs.
2020-01-23 15:41:41 +01:00
Daniel Hahler
a7292a0544
ci: Travis: remove non-coverage jobs
...
This helps with regard to slowness until
https://github.com/pytest-dev/pytest/pull/6470 is resolved.
2020-01-18 13:35:44 +01:00
Bruno Oliveira
d1d7e5d41b
Drop deploy from Travis in favor of GitHub actions
...
GitHub actions already should deploy.
This is a stop gap while we figure out why coverage dropped
when removing Travis builds in #6470
2020-01-16 18:12:47 -03:00
Daniel Hahler
4ff7453b48
ci: Travis: Python 3.5.1 via Trusty
...
Python 3.5.0 caused flaky failures before
(https://github.com/pytest-dev/pytest/issues/5795 ).
This is pulled out of https://github.com/pytest-dev/pytest/pull/6435 ,
which adds code specific for Python < 3.5.2.
It only runs a specific test, while collecting everything to get
coverage of the version specific code around typing.
2020-01-14 09:15:36 +01:00
Bruno Oliveira
994909270f
Update release notes script after CHANGELOG changed location
2019-12-20 08:54:44 -03:00
Daniel Hahler
f9feef6808
Revert "ci: use tox -vv"
...
`tox -vv` is too verbose, and was only used as a hack to get the output
of durations.
As for information in logs `-v` could be used maybe still, but I've
decided to revert it for now.
This reverts commit 56cec5fa79
.
2019-11-18 23:14:03 +01:00
Daniel Hahler
4e45472405
Merge master into features
...
Conflicts:
src/_pytest/debugging.py
2019-11-06 14:22:07 +01:00
Daniel Hahler
957adbbbc7
ci: Travis: remove py38 from allowed failures; do not use "-dev"
2019-11-06 13:09:11 +01:00
Daniel Hahler
7f851a215b
Merge pull request #6032 from blueyed/ci-branches
...
ci: Travis: configure/restrict branch builds
2019-10-31 10:38:01 +01:00
Daniel Hahler
023dde89e1
ci: Travis: include pexpect in main py37 job
...
This removes xdist there (not compatible with the pexpect tests), but it
is better to have one job less, although slower due to not using xdist.
2019-10-28 13:39:43 +01:00
Bruno Oliveira
432e5550e5
assertrepr_compare: use safeformat with -vv ( #5936 )
...
assertrepr_compare: use safeformat with -vv
2019-10-23 19:51:40 -03:00
Daniel Hahler
851fc0280f
ci: Travis: configure/restrict branch builds [ci skip]
2019-10-22 23:03:31 +02:00
Daniel Hahler
56cec5fa79
ci: use tox -vv
...
This will display durations, and is useful in logs in general.
2019-10-22 05:46:52 +02:00
Daniel Hahler
46fbf22524
ci: Travis: cover verbose=1
2019-10-20 20:51:03 +02:00
Daniel Hahler
a73d0151a6
ci: Travis: move py37-pexpect to another job
...
It does not have to run all tests again by itself.
2019-10-17 02:19:46 +02:00
Daniel Hahler
b0fd8742da
ci: test oldest supported attrs
2019-10-06 16:12:56 +02:00
Daniel Hahler
f1b605c95e
ci: Travis: do not test with 3.5.0
...
This causes flaky test failures (crashes).
Closes https://github.com/pytest-dev/pytest/issues/5795 .
2019-09-06 12:29:17 +02:00
Bruno Oliveira
bb60736a6f
Run py35 without xdist on Travis
...
Due to the flaky tests in 3.5.0, drop running
py35 with xdist for now in the hope we get better error
messages.
Ref: #5795
2019-08-30 10:59:50 -03:00
Daniel Hahler
1e3205e7cf
ci: Travis: use 3.5.0
...
Ref: https://github.com/pytest-dev/pytest/pull/5752#issuecomment-522241225
2019-08-17 23:10:01 +02:00
Bruno Oliveira
1a61265b1e
Publish GitHub release notes after deployment
...
Fix #2933
2019-08-12 10:18:43 -03:00
Bruno Oliveira
cd924b66ca
Disable shallow cloning because of setuptools-scm
...
setuptools-scm needs all tags to guess the version correctly
2019-08-01 12:29:39 -03:00
Bruno Oliveira
94a05e513e
Run py38-xdist as part of the build instead of cron
2019-06-29 11:19:50 -03:00
Anthony Sottile
f586d627b3
re-enable pypy3 now that importlib-metadata 0.18 is released
2019-06-11 10:54:16 -07:00
Anthony Sottile
108fad1ac0
Revert "ci: Travis: remove pypy3 job for now"
...
This reverts commit 47022b36cb
.
2019-06-11 10:53:32 -07:00
Daniel Hahler
28aa38ece6
ci: optimize twisted/pexpect related jobs
...
- tox: use twisted as dep only
- Azure: move twisted/numpy to main py37 job
- Travis: move twisted to main py37 build
2019-06-08 19:21:56 +02:00
Daniel Hahler
47022b36cb
ci: Travis: remove pypy3 job for now
...
Ref: https://github.com/pytest-dev/pytest/issues/5317#issuecomment-499019928
2019-06-07 11:01:23 +02:00
Daniel Hahler
0fd1f3038c
ci: move coverage reporting to shared script
2019-06-06 16:31:39 +02:00
Daniel Hahler
d9eafbdee3
Revert "Enable coverage for 'py37' environment"
...
This reverts commit 6d393c5dc8
.
It should not be necessary, because we have it via other jobs already.
2019-06-05 12:12:58 +02:00
Bruno Oliveira
9349c72cac
Allow pypy3 failures again
...
Related to #5317
2019-06-04 20:17:51 -03:00
Anthony Sottile
b95bb29fc2
Remove --recreate from .travis.yml
...
Looks like this has been in the history since the beginning of time, but we should always get a blank slate anyway
Noticed this in https://github.com/crsmithdev/arrow/pull/597
2019-06-03 16:31:06 -07:00
Daniel Hahler
606d728697
Revert "Revert "Revert "ci: Travis: add pypy3 to allowed failures temporarily"""
2019-06-03 18:54:40 +02:00
Daniel Hahler
e770db4c91
Revert "Revert "ci: Travis: add pypy3 to allowed failures temporarily""
...
This reverts commit a6dc283133
.
2019-06-03 18:30:50 +02:00
Bruno Oliveira
6d393c5dc8
Enable coverage for 'py37' environment
2019-06-03 12:08:02 -03:00
Bruno Oliveira
602a290fcc
Drop py27 and py34 support ( #5318 )
...
Drop py27 and py34 support
2019-06-02 19:14:54 -03:00
Daniel Hahler
a6dc283133
Revert "ci: Travis: add pypy3 to allowed failures temporarily"
...
This reverts commit 5ac498ea96
.
The idea is that maybe https://github.com/pytest-dev/pytest/pull/5360
fixes the failures here also.
2019-06-02 20:19:34 +02:00
Bruno Oliveira
4d49ba6529
Drop Python 2.7 and 3.4 support
...
* Update setup.py requires and classifiers
* Drop Python 2.7 and 3.4 from CI
* Update docs dropping 2.7 and 3.4 support
* Fix mock imports and remove tests related to pypi's mock module
* Add py27 and 34 support docs to the sidebar
* Remove usage of six from tmpdir
* Remove six.PY* code blocks
* Remove sys.version_info related code
* Cleanup compat
* Remove obsolete safe_str
* Remove obsolete __unicode__ methods
* Remove compat.PY35 and compat.PY36: not really needed anymore
* Remove unused UNICODE_TYPES
* Remove Jython specific code
* Remove some Python 2 references from docs
Related to #5275
2019-06-02 14:39:11 -03:00
Bruno Oliveira
c5de8e8c50
ci: Travis: add pypy3 to allowed failures temporarily ( #5340 )
...
ci: Travis: add pypy3 to allowed failures temporarily
2019-05-30 21:37:55 -03:00
Daniel Hahler
5ac498ea96
ci: Travis: add pypy3 to allowed failures temporarily
...
Ref: https://github.com/pytest-dev/pytest/pull/5334
Ref: https://github.com/pytest-dev/pytest/issues/5317
2019-05-30 06:37:53 +02:00
Daniel Hahler
6765aca0d1
Merge master into features
2019-05-30 06:33:04 +02:00
Daniel Hahler
49c6aebbc7
ci: Travis: test with pexpect on macos
...
Uses `PYTEST_COVERAGE=1` already, which will come in via dropping
Python 2 soon anyway.
2019-05-30 03:51:33 +02:00
Anthony Sottile
2e2e895b4b
Temporarily pin pluggy on master
2019-05-28 09:02:23 -07:00
Hugo
26b41a5914
Upgrade PyPy to 7.1.1
2019-05-04 17:54:57 +03:00
Daniel Hahler
e1ae469504
Merge master into features
2019-03-26 10:23:21 +01:00
Daniel Hahler
ea7357bc58
ci: PYTEST_ADDOPTS=-vv in general
...
This is useful when viewing logs, especially with hanging tests.
Uses non-verbose mode with a single job for full coverage.
2019-03-22 07:56:15 +01:00
Daniel Hahler
2ade3d5c89
ci: rename "trial" tox factor to "twisted"
...
Ref: https://github.com/pytest-dev/pytest/pull/4848#issuecomment-467909204
2019-03-20 18:38:50 +01:00