Florian Bruhin
15b77bf2e9
Fix catchlog move in run_frozen_tests.py.
2015-11-11 21:13:48 +01:00
Florian Bruhin
e25ae49c0e
Use os.path.commonprefix to get common path.
...
os.path.commonpath is only available on Python 3.5.
2015-11-11 21:11:14 +01:00
Florian Bruhin
3680f01576
Switch to pytest 2.8.
...
Closes #1077 .
There were two issues:
- Paths for coverage.py suddenly were absolute instead of relative, so we strip
the common base part if that happens.
/home/florian/proj/qutebrowser/git/qutebrowser/browser/cookies.py has 100%
coverage but is not in perfect_files!
/home/florian/proj/qutebrowser/git/qutebrowser/browser/http.py has 100%
coverage but is not in perfect_files!
[...]
- There was an io.UnsupportedOperationError in test_check_coverage.py because
of pytest-faulthandler, so we just don't load that in the subprocess.
2015-11-11 20:57:47 +01:00
Florian Bruhin
250f0e7410
Merge branch 'test-browser-cache-more' of https://github.com/lamarpavel/qutebrowser into lamarpavel-test-browser-cache-more
2015-11-10 18:57:28 +01:00
Lamar Pavel
aaf62fc6d0
Add cache tests to perfectly covered files.
2015-11-10 03:49:18 +01:00
Florian Bruhin
0162583444
Fix check_coverage.py return value.
2015-11-09 20:07:08 +01:00
Florian Bruhin
ac10fbc095
Handle qute:... handlers in run_vulture.
2015-11-04 17:45:16 +01:00
Florian Bruhin
9b104b0af7
ci_install: Update installed packages.
2015-10-27 17:54:23 +01:00
Florian Bruhin
fc573963f4
Fix lint.
2015-10-26 08:43:55 +01:00
Florian Bruhin
4e48e3d725
ci_install: Only install codecov when needed.
2015-10-26 07:37:20 +01:00
Florian Bruhin
cf623f0d8d
ci_install: Also install codecov on OS X.
2015-10-26 07:34:56 +01:00
Florian Bruhin
14334dce21
Don't remove coverage.xml on CI.
2015-10-23 19:14:46 +02:00
Florian Bruhin
67a0a6b944
Try codecov.
2015-10-23 19:14:46 +02:00
Florian Bruhin
b12cfa9d05
Fix filters in run_vulture.py.
2015-10-20 23:31:46 +02:00
Florian Bruhin
db350719d5
Make run_vulture.py more modular.
2015-10-20 23:25:50 +02:00
Florian Bruhin
4f4dfb1e31
Add arguments to run_vulture.py.
2015-10-20 22:48:01 +02:00
Florian Bruhin
0187dd6ac6
Add get_coredumpct_traces script.
2015-10-20 21:26:53 +02:00
Florian Bruhin
7d026efbfb
Revert "travis: Patch PyQt on OS X."
...
This reverts commit 5fce514168
.
2015-10-20 18:14:25 +02:00
Florian Bruhin
5fce514168
travis: Patch PyQt on OS X.
...
This is to circumvent https://github.com/Homebrew/homebrew/issues/45114
The build takes a lot longer now, but at least it works.
2015-10-19 17:29:01 +02:00
Florian Bruhin
4bb1a37cf1
Rename travis fold name.
2015-10-15 22:22:28 +02:00
Florian Bruhin
309be9b057
Use travis_fold on ci_install.py.
2015-10-15 21:46:24 +02:00
Florian Bruhin
67ecd93326
Spell-check committing and existent.
2015-10-14 06:56:13 +02:00
Florian Bruhin
ffab11c871
Install tox for eslint on Travis.
2015-10-08 06:24:31 +02:00
Florian Bruhin
0960f229f0
Get rid of ci_run.py again.
2015-10-07 23:12:33 +02:00
Florian Bruhin
0845671165
Start Xvfb for CI from tests.
2015-10-07 23:05:39 +02:00
Florian Bruhin
94d88e280b
tox: Add pytest-sugar.
...
Nicer test output FTW!
2015-10-07 22:13:22 +02:00
Florian Bruhin
2918f33569
Include xvfbwrapper when freezing tests.
2015-10-07 17:06:19 +02:00
Florian Bruhin
7e2ae9f39f
Also install nodejs-legacy on Travis.
...
This is needed to get /usr/bin/node which npm/eslint seem to use.
2015-10-06 07:32:22 +02:00
Florian Bruhin
439c00f32a
Run eslint on Travis.
...
See #773 .
2015-10-06 07:10:32 +02:00
Florian Bruhin
d094a495cc
Avoid apt-get on Travis if possible.
...
This should speed up builds as no apt-get update is needed.
2015-10-06 07:10:32 +02:00
Florian Bruhin
d9018fed14
Don't install python-dev packages on Travis.
...
Those don't seem to be needed anymore.
2015-10-06 07:10:32 +02:00
Florian Bruhin
aa9498bb41
Add separate testenv for vulture.
2015-10-06 07:10:32 +02:00
Florian Bruhin
4b2e0470c8
Parallelize test runs on Travis.
2015-10-06 07:10:32 +02:00
Florian Bruhin
04619e0f81
Run Python 3.5 on OS X and get rid of Xvfb wrapper.
2015-10-06 07:10:32 +02:00
Florian Bruhin
54557fee20
Fix lint.
2015-10-05 06:53:56 +02:00
Florian Bruhin
6293842c18
Run vulture in misc testenv.
...
Closes #973 .
2015-10-04 23:04:09 +02:00
Florian Bruhin
f4fdcbdd71
Add a --check-all to check_coverage.py.
2015-10-04 20:35:24 +02:00
Florian Bruhin
54ae1582af
Make check_coverage work when called with a file.
2015-10-04 19:36:26 +02:00
Florian Bruhin
d229e90724
Fix some splelling mistakes.
2015-10-04 15:41:42 +02:00
Florian Bruhin
0b4cee420f
Merge same authors and regenerate authors.
2015-10-01 18:25:46 +02:00
Florian Bruhin
866017f9c1
Pass --verbose to Homebrew.
...
The homebrew progress bars cause Travis to bail out because the 4MB maximum log
size was reached. Ironically, that does not happen with --verbose.
2015-09-29 06:54:14 +02:00
Florian Bruhin
a6ceab5dbc
Fix pip executable name for OS X.
2015-09-24 08:53:20 +02:00
Florian Bruhin
311ae78bc3
Adjust check_coverage.py for coverage 4.0.
2015-09-21 07:42:10 +02:00
Florian Bruhin
5ba7b5cf0f
Fix lint.
2015-09-19 22:03:56 +02:00
Florian Bruhin
957116658d
Clean up freeze.py.
2015-09-18 22:33:50 +02:00
Florian Bruhin
7d6c39d64b
Run frozen smoke test via pytest.
2015-09-18 22:23:18 +02:00
Florian Bruhin
a8a2fd2e7d
Rename webserver.py to webserver_sub.py.
2015-09-18 20:08:31 +02:00
Florian Bruhin
2cb1f9226a
Make httpbin tests run when frozen.
2015-09-17 21:51:09 +02:00
Florian Bruhin
d5baed5e83
Merge branch 'cookies_tests' of https://github.com/acogneau/qutebrowser into acogneau-cookies_tests
2015-09-16 22:58:28 +02:00
Florian Bruhin
2a4cd02704
100% coverage for misc.ipc.
2015-09-04 06:58:46 +02:00