1
0
forked from VimPlug/jedi
Commit Graph

54 Commits

Author SHA1 Message Date
Dave Halter d986c44b94 Merge with master
The deprecation of Python2.6 and the insertion of environments made it quite difficult to merge.
2018-01-20 19:32:59 +01:00
Hugo 7c31ea9042 Drop support for EOL Python 2.6 2018-01-07 10:40:05 +02:00
Dave Halter 408293085c Try to pass the environment variable for JEDI_TEST_ENVIRONMENT to pytest over tox 2017-12-29 13:49:24 +01:00
Dave Halter c3520bea65 By default enable cross Python version tests in tox 2017-12-23 19:59:37 +01:00
Dave Halter a9ebd92c20 Add a way to specify environments in tox 2017-12-19 19:02:57 +01:00
Dave Halter e526cb1ae3 Don't run Python 2.6 in tox by default
Python 2.6 seems to be harder and harder to run in tox if setuptools is not properly configured for it.
It's still possible to run it and it still runs on travis.
2017-12-14 22:50:13 +01:00
Dave Halter 62915686af Don't use pytest 3.3+ because it removed support for Python 3.3 2017-12-14 22:29:13 +01:00
Dave Halter 3bceef075a Merge branch 'numpydoc' of https://github.com/bcolsen/jedi 2017-09-09 18:50:19 +02:00
bcolsen 38a690b4e4 add numpydoc to cov in tox.ini 2017-08-08 23:41:08 -06:00
bcolsen 77d6de0ae5 fix test skip and py3.6 2017-08-08 23:30:02 -06:00
bcolsen 4f96cdb3b0 Numpydocs doesn't support 2.6 or 3.3 2017-08-08 23:13:16 -06:00
bcolsen d19a97f53a Numpydocs and compiled objects return types 2017-08-08 22:46:33 -06:00
Dave Halter c7984c0710 Add a requirements.txt.
Also use it within setup.py. It doesn't seem possible to define dependencies for tox with install_requires.
2017-05-20 17:22:34 -04:00
Dave Halter 0b3590ce20 Python 3.6 was not tested in the default configuration of tox. 2017-05-08 19:55:35 +02:00
Daniel Hahler 94dc563d8a tox: use posargs ("jedi test") for py.test command
Without this it would collect tests from other dirs also by default.
2016-11-04 14:31:43 +01:00
Dave Halter 1ba226d4a2 Typing after all cannot be used in Python 2.6, therefore remove it again and disable the tests for 2.6 that need it. 2016-07-03 12:10:19 +02:00
Dave Halter 2d2b22ba69 Dependency updates for tox, add typing for Python 2.6 and remove it for 3.5, because that version includes it natively. 2016-07-03 12:07:23 +02:00
Dave Halter 45dde12429 Pip compatibility with Python 3.2 is gone. Therefore we also remove it. 2016-07-03 11:36:19 +02:00
Claude 4249563eb2 tests can now also run on python 3.5 2016-02-09 21:08:47 +01:00
Dave Halter 7fe5280bda Forgot to include all tox dependencies. 2016-01-27 19:01:33 -02:00
Dave Halter 633e5aa76f The typing library only works in Python >= 2.7. 2016-01-26 15:05:58 -02:00
Claude 9d7e1ce81b add the typing module for testing 2016-01-17 10:41:41 +01:00
Dave Halter 62609cb6f1 Resolve tox issues. 2014-12-17 14:01:00 +01:00
Danilo Bargen 81e066097d Added pytest-cache to tox.ini
This allows you to only run the last failed tests using `py.test --lf`
or `tox -- --lf`.
2014-07-26 17:48:46 +02:00
Akinori Hattori 1eeb5677fa update pytest to latest stable 2014-07-17 18:35:31 +09:00
ColinDuquesnoy dceec59877 Add py34 to tox's envlist 2014-03-18 19:16:49 +01:00
Dave Halter e4aac3eb54 add colorama to tox config, because that improves the color output 2014-01-22 16:15:56 +01:00
David Halter 1c75ced693 fix tox problem with sith tests 2013-09-04 21:31:48 +04:30
David Halter 8db85dbe15 add docopt to tox 2013-07-17 15:21:56 +02:00
Takafumi Arakaki a94642b9c0 Add testenv:sith in tox.ini 2013-05-24 23:06:50 +02:00
David Halter b2b8bfc8e3 don't erase coverage data 2013-05-13 18:01:59 +04:30
David Halter bb27afa19c forgot the coverage dependency when removing the pytest-coverage 2013-05-13 16:47:46 +04:30
David Halter 6b57f7ce48 remove pytest-cov from tox.ini requirements 2013-05-13 12:35:09 +04:30
David Halter 05eb62eea5 use coverage instead of pytest-cov 2013-05-13 12:29:56 +04:30
Danilo Bargen b3d9b6ce69 Removed py25 related code (fixes #206) 2013-04-27 16:47:40 +02:00
Danilo Bargen b06e654b92 Removed py25 from tox.ini (refs #206) 2013-04-27 15:58:19 +02:00
Danilo Bargen df468d3f38 Use dev version of pytest.
This should fix some issues with testing under py32, see
https://bitbucket.org/hpk42/pytest/issue/274/internalerror-when-running-doctest
2013-04-27 15:40:58 +02:00
Takafumi Arakaki af22409059 Separate tox env for coverage check 2013-04-10 17:08:20 +02:00
Danilo Bargen 798136787f Configuration to run coveralls on py33 2013-04-10 16:30:32 +02:00
Aldo Stracquadanio 07ec134bc9 Adding python 3.3 to test environment, mani fixes
Added python 3.3 to test-suite

Removed unused import

Removed unused import

Migrated to EAFP for attribute checking

Bumped version of ModulePickling for migration to hashlib

Added py33 environment to tox

Fixed issue with package importing on python 3.3
2013-03-27 10:48:56 +00:00
Takafumi Arakaki 4aac06eb86 Remove tags for known failures due to the import hack 2013-03-16 21:18:37 +01:00
Takafumi Arakaki fbccdd3f70 Run doctests in the main py.test run 2013-03-14 14:15:00 +01:00
Takafumi Arakaki 49f635dca3 Add a failing test due to import hack 2013-03-12 10:01:57 +01:00
Takafumi Arakaki 7c289ce6be Workaround test failure due to cache in Python 3.2 2013-03-12 09:59:30 +01:00
Takafumi Arakaki cee167e3d2 Run py.test in clean cache directory
And finally remove XDG_CACHE_HOME=... in tox.ini.
2013-03-12 09:30:13 +01:00
Takafumi Arakaki e7b352b826 Install ssl in .travis.yml 2013-03-12 09:01:56 +01:00
Takafumi Arakaki 674743b7bb Avoid NoSSLError in Python 2.5 2013-03-12 08:49:24 +01:00
Takafumi Arakaki 51a094be02 Run py.test in tox.ini 2013-03-12 07:08:52 +01:00
Takafumi Arakaki ab79689cee Use unittest2 for Python < 2.7 2013-03-10 21:28:27 +01:00
Takafumi Arakaki 668be37089 Use nose to run doctests 2013-02-26 10:25:16 +01:00