Bruno Oliveira
3cec1482eb
Merge branch 'master' into py37-by-default
2018-11-12 14:03:59 -02:00
Daniel Hahler
935b106213
CI: use py37 instead of py36 by default
...
Closes https://github.com/pytest-dev/pytest/issues/4370 .
2018-11-12 03:16:52 +01:00
Daniel Hahler
74366426b9
Travis: use last TOXENV for PATH
2018-11-11 22:08:45 +01:00
Daniel Hahler
9628242423
CI: doctesting uses coverage, fiy py37 on AppVeyor
2018-11-11 21:49:59 +01:00
Bruno Oliveira
7b833ce5f9
Merge pull request #4368 from blueyed/toxenv-coverage
...
Travis: use coverage from existing tox env [skip appveyor]
2018-11-11 11:57:20 -02:00
Daniel Hahler
dc9ceda5d2
Travis: use Xenial by default [skip appveyor]
2018-11-11 01:02:06 +01:00
Daniel Hahler
825085f699
Travis: use coverage from existing tox env [skip appveyor]
2018-11-11 00:59:46 +01:00
Daniel Hahler
bb8a8495ff
Revert "Attempt to fix macosx build setup"
...
This reverts commit 28dbffdaf2
.
Appears to be not necessary anymore:
https://travis-ci.org/pytest-dev/pytest/jobs/452598885#L906
[skip appveyor]
2018-11-09 00:33:52 +01:00
Bruno Oliveira
28dbffdaf2
Attempt to fix macosx build setup
...
This has been failing as of 2018-10-23 while installing gcc with
this message:
==> Installing numpy dependency: gcc
==> Downloading https://homebrew.bintray.com/bottles/gcc-8.2.0.high_sierra.bottl
######################################################################## 100.0%
==> Pouring gcc-8.2.0.high_sierra.bottle.1.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink include/c++
Target /usr/local/include/c++
already exists. You may want to remove it:
rm '/usr/local/include/c++'
To force the link and overwrite all conflicting files:
brew link --overwrite gcc
To list all files that would be deleted:
brew link --overwrite --dry-run gcc
Possible conflicting files are:
/usr/local/include/c++ -> /usr/local/Caskroom/oclint/0.13.1,17.4.0/oclint-0.13.1/include/c++
2018-10-24 12:46:45 -03:00
Bruno Oliveira
12f94b81c0
No longer upload code coverage to coveralls
...
We have since moved to codecov and uploading to coveralls is breaking
OS-X builds for py37 [1], so we might as well take this opportunity to drop
it.
[1] https://travis-ci.org/pytest-dev/pytest/jobs/442858038
2018-10-17 18:18:08 -03:00
Daniel Hahler
6d0667f1db
CI: run specialized factors in a single job
...
Given the setup time for jobs, it makes sense to run
*-pexpect,*-trial,*-numpy in a single build job.
2018-10-14 14:27:34 +02:00
Bruno Oliveira
2dc619cbf4
Run docs, doctesting and linting in the same environment to save some CI time
2018-10-12 13:35:27 -03:00
Daniel Hahler
28c9cc7321
coverage: use modules for source
...
This should increase coverage for subprocesses, where previously
`source` paths were used only from the config file, but not the initial
`--source` argument.
2018-09-19 07:46:19 +02:00
Daniel Hahler
739f9a4a4b
Travis: use codecov-bash
...
Faster to install and will retry uploads on connection errors.
2018-09-17 14:44:47 +02:00
Daniel Hahler
7537e94ddf
tests: use unittest.mock with py34+
...
Fixes https://github.com/pytest-dev/pytest/issues/3965 .
Has to work around https://github.com/tox-dev/tox/issues/706 .
No coverage for pluggymaster builds is OK though anyway.
2018-09-12 23:21:47 +02:00
Bruno Oliveira
9ee8d72fd2
Disable coverage during deployment stage
...
Otherwise it will fail as there's no coverage data to combine/publish
2018-09-06 09:18:47 -03:00
Bruno Oliveira
ec6fca4aa7
Add codecov support to AppVeyor and remove coveralls
2018-09-05 19:50:06 -03:00
Bruno Oliveira
f0e852b4db
Merge pull request #2800 from blueyed/coverage
...
Travis: report coverage with all builds
2018-08-30 19:41:22 -03:00
Bruno Oliveira
3ca70692de
Skip the "test" stage when making a release
...
Given that our guidelines demand that the CI have already passed, it seems
wasteful to run all those jobs again for the exact same commit.
As discussed in https://github.com/pytest-dev/pytest/pull/3906#issuecomment-417094481 ,
this will skip the "test" stage when building a tag for deployment.
2018-08-29 17:54:58 -03:00
Daniel Hahler
417516c378
squash! Travis: report coverage with all builds
...
doctesting: remove changedir
With coverage 5 we could use COVERAGE_RCFILE to make it find the
.coveragerc, or we could add `--rcfile` to _PYTEST_TOX_COVERAGE_RUN, but
I've thought that this should not be the job that has to test if
`--pyargs` actually works.
2018-08-29 22:53:20 +02:00
Daniel Hahler
f730291e67
Travis: report coverage with all builds
...
- Skips pypy for coverage, reports only py37 to coveralls
- tox: allow for TOXENV=py37-coverage
- tracks coverage in subprocesses, using coverage-enable-subprocess, and
parallel=1
- removes usedevelop with doctesting to match `--source` being used with
coverage
- keep coveralls for now, used with AppVeyor
2018-08-29 22:30:28 +02:00
Daniel Hahler
16f452ef98
Merge pull request #3894 from blueyed/baseline
...
Travis: add baseline stage
2018-08-28 22:19:08 +02:00
Bruno Oliveira
32575f92c9
set TOXENV in test-macos template otherwise it will inherit "coveralls"
2018-08-27 20:07:51 -03:00
Bruno Oliveira
a260e58020
Drop 3.6 from OS-X to reduce build time
2018-08-27 20:03:12 -03:00
Bruno Oliveira
b2f7e02a02
Reorganize osx environments to avoid repetition as suggested in review
2018-08-27 20:02:16 -03:00
Daniel Hahler
cdc72bf5a3
Travis: add baseline stage
...
Fixes https://github.com/pytest-dev/pytest/issues/3876 .
2018-08-27 23:46:24 +02:00
Jiri Kuncar
f786335dbb
travis: run tests on macOS
...
closes #3892
2018-08-27 17:22:27 +02:00
Daniel Hahler
415fcb912b
Travis: use TOXENV=linting for linting stage
...
This will run it with `--show-diff-on-failure` then, and helps to keep
it in line / in a central place.
2018-08-25 23:14:09 +02:00
Bruno Oliveira
2c09930b6d
Use proper quotes for python 3.7 on travis.yml
2018-07-30 20:13:17 +00:00
Bruno Oliveira
c480223e88
Test with Python 3.7 on Travis and AppVeyor
2018-07-29 21:14:38 -03:00
Bruno Oliveira
49e82a4be8
Skip deploy stage entirely unless we have a tag
...
Borrowed from https://github.com/tox-dev/tox/pull/877
2018-07-07 12:12:07 -03:00
Bruno Oliveira
130100bba1
Fix reference to py36-freeze in travis and appveyor
...
Travis and AppVeyor were executing "py35-freeze", which does not actually
exist in tox.ini.
2018-06-20 07:53:41 -03:00
Ronny Pfannschmidt
130f76f66e
enable pip/pre-commit caching on travis and appveyor
2018-05-27 13:05:10 +02:00
Ronny Pfannschmidt
5a6a580765
clean env for the linting stage
2018-05-24 14:18:34 +02:00
Ronny Pfannschmidt
df17bb2bd3
switch linting tox env to use pre-commit, clean out travis linting env as unneeded
2018-05-24 14:17:09 +02:00
Ronny Pfannschmidt
6eb7af5a4e
experimentally add pre-commit for linting in travis
2018-05-24 13:51:15 +02:00
Bruno Oliveira
bfe2cbe875
Implement publishing to PyPI by pushing a tag
...
Fix #3060
2018-02-17 10:13:25 -02:00
Bruno Oliveira
e289c60c3a
Support py37 officially
...
Python 3.7.0b1 has been released:
https://www.python.org/downloads/release/python-370b1/
Fix #3168
2018-02-02 17:15:16 -02:00
Ronny Pfannschmidt
73ff53c742
remove eol python from the ci config
2017-10-09 16:36:41 +02:00
Bruno Oliveira
a2da5a691a
Update tox and appveyor environments to use py36 by default
2017-09-18 21:38:15 -03:00
Bruno Oliveira
d01f08e96f
Merge branch 'features' into pluggy-master
2017-09-06 13:13:35 -03:00
Bruno Oliveira
11ec6aeafb
Add test environment using pluggy from master branch
...
Fix #2737
2017-09-01 18:33:30 -03:00
Bruno Oliveira
7b5d26c1a8
Use py36 as preferred Python 3 interpreter for CI testing
2017-08-14 20:27:28 -03:00
Bruno Oliveira
362b1b3c4f
Use tox release candidates in CI
...
Fix #2683
2017-08-14 19:19:20 -03:00
Bruno Oliveira
d5bb2004f9
Fix travis build after change from "precise" to "trusty"
...
Travis recently has changed its dist from "precise" to "trusty", so
some Python versions are no longer installed by default
2017-07-23 00:50:28 -03:00
Kale Kundert
d6000e5ab1
Remove py36 from .travis.yml
...
I thought the file was just out of date, but adding py36 made Travis
complain "InterpreterNotFound: python3.6", so I guess it was correct as
it was.
2017-06-15 20:34:36 -07:00
Kale Kundert
5d2496862a
Only test numpy with py27 and py35.
...
Travis was not successfully installing numpy with python<=2.6,
python<=3.3, or PyPy. I decided that it didn't make sense to use numpy
for all the tests, so instead I made new testing environments
specifically for numpy.
2017-06-15 18:46:58 -07:00
Bruno Oliveira
6e2bbe88b1
Test against py36 official release for consistency with other python versions
2017-04-13 17:54:56 -03:00
Bruno Oliveira
b61dcded37
Allow py37-nightly to fail on Travis
...
Related to #2285
2017-03-04 07:17:39 -03:00
Anthony Sottile
5fd010c4c3
Simplify travis.yml with tox environment variables
2017-02-19 09:02:35 -08:00
Victor Uriarte
902fd2ff6a
Add py37-nightly to travis
2017-01-22 17:20:15 -07:00
Bruno Oliveira
2574da8d32
Fix pytester internal plugin to work correctly with latest versions of zope.interface
...
Fix #1989
2017-01-19 20:53:35 -02:00
Bruno Oliveira
091148f843
Merge pull request #2136 from hroncok/i2132
...
Tests: Check for ModuleNotFoundError on Python 3.6+
2016-12-27 23:10:58 -02:00
Miro Hrončok
6b24ce2a9d
Test Python 3.6 on Travis CI
...
Partial fix for https://github.com/pytest-dev/pytest/issues/2134
2016-12-27 23:16:25 +01:00
Bruno Oliveira
f7a1d369c3
Allow trial environments to fail on CI for now
...
While I agree this is *far* from ideal, IMHO It is better to ignore them for now otherwise we hamper contributors with unrelated errors.
We should fix this before the next release.
#1989
2016-12-26 21:47:50 -02:00
Bruno Oliveira
1519b38af0
Allow failure of py35-trial on Travis
...
Related to #1989
2016-11-11 19:26:54 -02:00
Bruno Oliveira
95007ddeca
Disable py35-trial while #1989 is not fixed
2016-10-20 18:56:54 -02:00
Bruno Oliveira
519f02b014
docs warnings as errors and initial page similar to README
...
* Changed "index" to be more similar to the README (#1708 ).
* Fixes numerous issues like missing documents, syntax errors, etc (#1829 , #432 ).
* Mention all docs in "contents.rst" so it's easier for users to locate (#1112 ).
* Add doc generation and checking to Travis and AppVeyor, to avoid re-introducing errors.
Fixes #432 , Fixes #1112 , Fixes #1708 , Fixes #1829
2016-08-26 17:47:18 -03:00
Bruno Oliveira
ed36d627e4
Use PyInstaller for freeze test env
...
cx_freeze doesn't seem to be very well supported in Python 3.5.
Using pyinstaller instead and rename environment to "freeze" which
is a more generic term for freezing python code into standalone
executables.
Fix #1769
2016-07-26 22:02:37 -03:00
Ronny Pfannschmidt
7b2956e10b
merge latest master into features as well
2016-02-05 00:13:48 +01:00
Bruno Oliveira
30e61f2777
Test with pypy and enable coveralls in AppVeyor
...
* Install pypy using chocolatey
* Enable coveralls test environment in AppVeyor
* Suggest maintaining build matrix in .travis.yml by using "tox --listenvs"
Fix #1254
2016-02-01 17:40:30 -02:00
Bruno Oliveira
3e34db50fb
Rename "flakes" testenv to "linting" as requested in review
2016-01-05 18:18:29 -02:00
Bruno Oliveira
cdead1a991
Update travis with new tox environments
2015-09-26 03:43:37 -03:00
Bruno Oliveira
1d1eac4c6b
Use python "3.5" on travis
2015-09-14 10:36:20 -03:00
Bruno Oliveira
3e41c3cbb3
Using packages from pypi
2015-08-18 09:19:51 -03:00
Bruno Oliveira
ae28e4ba0f
Merge remote-tracking branch 'upstream/pytest-2.7'
...
Conflicts:
.travis.yml
2015-07-24 20:02:12 -03:00
Thomas Kluyver
ed2c06c8cd
Re-enable Python 3.5 testing on Travis
...
This is PR #875 , but reissued against the pytest-2.7 branch.
According to the docs, it looks like this should work:
http://docs.travis-ci.com/user/languages/python/
I've explicitly specified beta 3, so it will need updating when future
betas come out. You could instead specify '3.5-dev', which would give
less need to update, but then it's less clear whether a change in status
is due to a change in pytest or in Python itself.
2015-07-24 15:50:45 -07:00
Anatoly Bubenkov
6af7172204
Merge branch 'pytest-2.7'
2015-07-19 15:25:04 +02:00
Bruno Oliveira
23aaa8a62c
Allow py35 to fail on Travis until it is properly supported (fix2)
...
Conflicts:
.travis.yml
2015-07-18 15:39:22 -03:00
Bruno Oliveira
604a39f5ef
Allow py35 to fail on Travis until it is properly supported (fix2)
2015-07-18 15:30:16 -03:00
Bruno Oliveira
a5bc98136d
Allow py35 to fail on Travis until it is properly supported (fix)
2015-07-18 15:18:57 -03:00
Bruno Oliveira
7dab2e1efe
Allow py35 to fail on Travis until it is properly supported
2015-07-18 14:46:36 -03:00
Thomas Kluyver
6719a818e7
Match .travis.yml env list to tox envs
...
Conflicts:
.travis.yml
2015-07-18 13:18:36 -03:00
Thomas Kluyver
08432c3e97
No more failures
2015-07-18 13:17:29 -03:00
Matthias Bussonnier
ec5286ea8c
nigh
2015-07-18 13:16:08 -03:00
Matthias Bussonnier
8bde0c5957
allow faillure on 35
2015-07-18 13:16:08 -03:00
Matthias Bussonnier
b18e6439bd
Ast Call signature changed on 3.5
...
fix issue 744 on bitbucket
port of merge request 296
https://bitbucket.org/pytest-dev/pytest/pull-request/296/astcall-signature-changed-on-35
https://bitbucket.org/pytest-dev/pytest/issue/744/
Conflicts:
CHANGELOG
2015-07-18 13:15:46 -03:00
Thomas Kluyver
077f0d3d66
Match .travis.yml env list to tox envs
2015-07-15 16:03:14 -07:00
Thomas Kluyver
37a09a6c30
No more failures
2015-07-15 15:58:42 -07:00
Matthias Bussonnier
3cf82c6594
nigh
2015-07-15 13:49:40 -07:00
Matthias Bussonnier
e2e29284f0
allow faillure on 35
2015-07-15 13:49:40 -07:00
Matthias Bussonnier
26e64fc45c
Ast Call signature changed on 3.5
...
fix issue 744 on bitbucket
port of merge request 296
https://bitbucket.org/pytest-dev/pytest/pull-request/296/astcall-signature-changed-on-35
https://bitbucket.org/pytest-dev/pytest/issue/744/
2015-07-15 13:49:40 -07:00
Florian Bruhin
94332ed1d8
Adjust IRC notifications to use #pytest.
...
It seems #pytest-dev is quite dead. Also I set it to only send notifications on
changes (i.e. success -> failure and vice-versa).
2015-06-19 11:37:10 +02:00
Bruno Oliveira
923174718e
Allow failure of py27-subprocess tox-env while on pytest-2.7
...
"inprocess by default" was introduced in 2.8, and the current travis
configuration was backported from master so this specific
tox-env will remain disabled while pytest-2.7 maintenance branch
lasts.
2015-06-17 00:53:38 -03:00
Anatoly Bubenkov
73f37d0989
split travis jobs
...
Conflicts:
README.rst
2015-06-17 00:22:34 -03:00
Anatoly Bubenkov
0722b95e53
use travis containers
2015-06-17 00:21:32 -03:00
Bruno Oliveira
502a372405
Merge pull request #771 from pytest-dev/use-travis-containers
...
use travis containers
2015-06-15 19:56:34 -03:00
Anatoly Bubenkov
f2494ecb3d
split travis jobs
2015-06-16 00:49:55 +02:00
Anatoly Bubenkov
e9e01f2c9c
use travis containers
2015-06-16 00:22:16 +02:00
holger krekel
14a43fffee
have travis use the devpi index to get the pylib dependency
2014-01-23 12:18:20 +01:00
Anatoly Bubenkov
fb6282caaa
only force tox to upgrade
2013-09-07 20:23:44 +02:00
holger krekel
997df928b7
stick to virtualenv<1.10 for now because it breaks python2.5
2013-07-24 12:08:20 +02:00
holger krekel
b7054495a7
send IRC notifications to pytest-dev
2013-07-11 12:20:38 +02:00
Anatoly Bubenkov
1736242bd7
add travis integration, fixes for py25 and py27 no pyc tox env
...
--HG--
branch : travis-integration
2013-07-06 14:23:02 +02:00