Commit Graph

5769 Commits

Author SHA1 Message Date
Dave Halter 4e52acbf26 Using setup.py build should not include part of tests
It looks like that we have to not only exclude the test package but also 'test.*'. Thanks to @david-geiger for noticing this. Fixes #1024.
2018-01-07 14:13:40 +01:00
Hugo 73c71d6475 This test will be removed in the virtualenv branch 2018-01-07 10:40:36 +02:00
Hugo 7e449af4bd Revert changes to test/completion and test/static_analysis except for 2.6 comment removal 2018-01-07 10:40:36 +02:00
Hugo 3e8cd9f128 Use set literals 2018-01-07 10:40:36 +02:00
Hugo 3644c72efe Add version badges, use SVG badges, fix typos 2018-01-07 10:40:36 +02:00
Hugo abe0f27e6a Add python_requires to help pip 2018-01-07 10:40:06 +02:00
Hugo f56035182c Remove trailing semicolons 2018-01-07 10:40:06 +02:00
Hugo cc623218e5 Replace function call with set literal 2018-01-07 10:40:06 +02:00
Hugo 5755fcb900 Replace comparison with None with equality operator 2018-01-07 10:40:06 +02:00
Hugo 8cf708d0d4 Remove redundant parentheses 2018-01-07 10:40:06 +02:00
Hugo a7ac647498 Remove redundant character escape 2018-01-07 10:40:06 +02:00
Hugo 7821203d8e Use automatic formatters 2018-01-07 10:40:05 +02:00
Hugo 7c31ea9042 Drop support for EOL Python 2.6 2018-01-07 10:40:05 +02:00
Hugo 0334918d73 Ignore IDE metadata 2018-01-07 10:40:05 +02:00
Dave Halter d00b6ddd10 Sith still used NotFoundError which doesn't exist anymore in jedi 2018-01-06 14:14:16 +01:00
Dave Halter 9e1cce6111 Ignore pypy in travis for now
There are too many issues in there and I won't look at them.
2018-01-06 14:13:15 +01:00
Dave Halter 7c78882967 A path to ignore in coveragerc was wrong 2018-01-06 14:12:26 +01:00
Dave Halter 9fdf265a75 Allowing the cov tests did not properly work. Trying again. 2018-01-06 13:54:29 +01:00
Dave Halter a3c7aaa65e Somehow previously removed the allowed failurs of TOXENV=cov 2018-01-06 13:52:31 +01:00
Dave Halter 5844ad0900 Try to put env variables on one line 2018-01-06 13:49:06 +01:00
Dave Halter e3d399cb08 Coverage was unfortunately excluded 2018-01-06 13:39:03 +01:00
Dave Halter f36f5ec234 Merge with master 2018-01-06 12:31:29 +01:00
Dave Halter a8124b625c Add a comment to refactoring that it's not in active development 2018-01-06 12:29:03 +01:00
Dave Halter bc57b08863 Change coveragerc a bit
Remove some exclude lines, because they don't matter and don't appear in our code base.
The files that are excluded are cannot be measured (because it's part of a subprocess) or are statically analyzed.

In addition refactoring.py hasn't been in use for a long time.
2018-01-06 12:27:48 +01:00
Dave Halter 14ac874e1a Use Python3.4 for coverage. 2018-01-06 12:14:32 +01:00
Dave Halter db47686159 Correct the issue about has_zlib
It was never actually the case that travis has Python versions without zlib. I didn't realize that modifying the sys path made it impossible to import the zlib library.
2018-01-06 03:34:37 +01:00
Dave Halter e42796ca10 Move the zip tests to the environment 2018-01-06 02:26:30 +01:00
Dave Halter 99eed91206 Only execute the zipimport tests fully if zlib is available for the environment Python. 2018-01-06 02:11:33 +01:00
MohamedAlFahim ad5ac8c492 Made 'l' a string + added warning
One of the helper methods is missing, so be extra careful.
2018-01-05 22:49:47 +01:00
MohamedAlFahim 03961bf051 Fixed refactoring.py docstring mistake
Updated parameters in docstring
2018-01-05 22:42:29 +01:00
Hugo 4199ac1a6f http -> https 2018-01-05 11:39:42 +01:00
Dave Halter db1a4415b3 Some tests that involved jedi were actually a bit wrong and only worked in certain environments. 2018-01-05 00:48:40 +01:00
Dave Halter 4d896892a3 Skip some 3.3 tests for travis
Python 3.3 on travis doesn't have zip support compiled.
Just ignore tests since 3.3 is End-of-Life anyway.
2018-01-04 01:46:07 +01:00
Dave Halter 3d39ffd16c Skipping was done wrong 2018-01-03 19:45:46 +01:00
Maxim Novikov ff65cf8ebe Use compatible syntax 2018-01-02 19:14:12 +01:00
Maxim Novikov 7f21fdfbc7 Fallback 2018-01-02 19:10:15 +01:00
Maxim Novikov a2031d89b1 Fix tests 2018-01-02 18:24:38 +01:00
Maxim Novikov 78cbad0d08 Fix implicit namespace autocompletion. Resolves: #959 2018-01-02 18:17:48 +01:00
Dave Halter d2cf2e69c9 Try a bit more if modifying the PATH is now possible. 2018-01-02 16:53:48 +01:00
Dave Halter 5e8d7a3c87 A comparison was wrong 2018-01-02 16:34:58 +01:00
Dave Halter b2b8607bd6 A new version of the travis install script 2018-01-02 16:33:05 +01:00
Dave Halter 9c5ce5a8d2 Try to use the virtual env that was defined in the VIRTUAL_ENV variable, if possible. 2018-01-02 01:28:02 +01:00
Dave Halter bcb3f02a01 If a subprocess gets killed by an OOM killer or whatever it should respawn and raise an InternalError 2018-01-02 00:56:22 +01:00
Dave Halter 7ff6871548 Merge Subprocess and CompiledSubprocess 2018-01-02 00:33:30 +01:00
Dave Halter 927aa2bd91 Try to recover from errors that are happening in subprocesses 2018-01-02 00:24:15 +01:00
Dave Halter d93b613fd9 Move the default environment around 2018-01-01 20:37:50 +01:00
Dave Halter 966bd53b40 More travis trying 2017-12-31 14:10:08 +01:00
Dave Halter 39f82bc5aa Better debugging for travis 2017-12-31 02:49:18 +01:00
Dave Halter 2fbdf0dc09 Forgot to add the executable bit to the travis installer. 2017-12-30 23:27:11 +01:00
Dave Halter 39a456be41 Experiment with travis and installing packages differently 2017-12-30 23:08:32 +01:00