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
Daniel Hahler
a70c1ca100
ci: Travis: disable cache by default, only for pre-commit
...
For pip the usual http caching should be good enough.
This keeps the cache for pre-commit with the linting env for now.
Ref: https://github.com/pytest-dev/pytest/issues/3502
2019-03-05 23:12:11 +01:00
Daniel Hahler
8481e438bd
ci: revisit coverage reporting
...
This brings coverage back that got missing with 9dcd6f2
.
Continuation of #4839 / #4846 .
2019-03-05 13:34:46 +01:00
Daniel Hahler
f8160f7bc5
ci: Travis: run py37-lsof-numpy-xdist with coverage
2019-03-01 16:59:56 +01:00
Bruno Oliveira
276ffa81f6
Merge pull request #4856 from blueyed/travis-no-cov-with-cron
...
ci: Travis: skip coverage with cron runs
2019-03-01 09:03:56 -03:00
Daniel Hahler
c30ab1014e
tox: add generic nobyte and numpy factors
...
Remove `py27-nobyte` from tox.ini, which was using xdist already.
Therefore this also removes `py27-xdist` from Travis.
"nobyte" was added in 036557ac
to test that test_assertrewrite.py works
with a global PYTHONDONTWRITEBYTECODE=1 setting.
"numpy" is only a special dependency, and can be run together with
nobyte/xdist.
2019-03-01 09:12:16 +01:00
Daniel Hahler
8b447878dc
ci: codecov: remove flags completely for now
...
This appears to be one of the reasons for timeouts on their backend.
2019-02-28 21:24:26 +01:00
Daniel Hahler
9c590fa474
ci: Travis: skip coverage with cron runs
...
The current commit on features has 50+ uploads already:
c7bbb2a788/build
2019-02-28 19:40:24 +01:00
Daniel Hahler
5a0f379289
ci: codecov: set name for uploads/builds
2019-02-27 10:02:11 +01:00
Daniel Hahler
0138e9cbb0
ci: coverage: remove --ignore-errors
...
This should not be necessary (anymore).
2019-02-27 09:57:28 +01:00
Daniel Hahler
e3eb26f91a
ci: Travis: no coverage by default [skip appveyor]
2019-02-26 21:56:01 +01:00