Florian Bruhin
7901d2929a
ci: Update pip to 8.1.2
...
Since virtualenv uses the built-in pip version with VIRTUALENV_DOWNLOAD=no we
need to make sure we keep virtualenv capped, but we can use a newer pip.
2016-05-12 20:32:03 +02:00
Florian Bruhin
e70d6d49d9
travis: Separate requirement files
...
This way we can update pip independently before installing the rest, and
avoid installing codecov (and thus coverage which attempts to build C
extension) where it's not needed.
2016-05-12 20:32:03 +02:00
Florian Bruhin
d4e2b4ebb4
travis: Don't update Python for flake8 env
...
This was needed because of a bug for which the backfix seems to be
ported to Ubuntu now.
2016-05-12 20:32:03 +02:00
Florian Bruhin
56a2b6778c
travis: Install libpython3.4-dev
...
This is now needed because we use "language: generic" which doesn't come
with that package.
2016-05-12 20:32:03 +02:00
Florian Bruhin
e13320b398
travis: Use python2 for pip
...
This means we won't need to install pip via apt-get, and using a
Python 2 tox/pip is fine.
2016-05-12 20:32:03 +02:00
Florian Bruhin
3033f77f99
travis: Use (( in travis_retry
...
If we use [, the script exits when a condition is false (as we use
set -e).
2016-05-12 20:32:03 +02:00
Florian Bruhin
cdc79339fb
travis: Use requirement files for pip
...
This way we can pin tox/pip versions (which are used in the native
Travis environment) *and* get notified about updates by requires.io.
2016-05-12 20:32:03 +02:00
Florian Bruhin
6558e196b4
Simplify package installation on CI
...
Having a Python script was a good idea back when we could do almost the
same steps on every CI configuration.
This turned out to grow into a complicated script, so it's easier to
split off things for Linux/OS X into a small shell script (and keep
Python for Windows, as I really don't want to use .bat/.ps).
2016-05-12 20:32:03 +02:00
Florian Bruhin
ccd0d1621c
Regenerate authors
2016-05-07 22:10:19 +02:00
Florian Bruhin
a5cea14a0f
Update docs
2016-05-07 21:39:19 +02:00
Florian Bruhin
e06a32ff42
Revert "travis: Switch to autobuilt Docker images"
...
This reverts commit b2e52408f7
.
Turns out only [testing] is on PyQt 5.6, and even with that the testsuite
doesn't seem to load properly...
2016-04-29 23:21:41 +02:00
Florian Bruhin
b2e52408f7
travis: Switch to autobuilt Docker images
...
Since Archlinux switched to PyQt 5.6, we can now use the autobuilt image
without a handbuilt PyQt. This means we have an up-to-date image with
each build again.
2016-04-29 22:54:00 +02:00
Florian Bruhin
2a343cb3a1
Various code style improvements
2016-04-27 20:25:27 +02:00
Florian Bruhin
eeb830e040
travis: Ignore doc changes when building a PR
...
Fixes #1441
2016-04-20 22:35:02 +02:00
Florian Bruhin
d33fae455d
Remove unused import
2016-04-15 19:31:54 +02:00
Florian Bruhin
1f66d74f01
Use __file__ instead of sys.argv[0]
2016-04-15 19:12:10 +02:00
Jan Verbeek
7f9a7a282f
Make update_3rdparty.py install correctly when run from any directory
2016-04-15 11:23:52 +02:00
Florian Bruhin
642dc46ba9
flake8: Add hacking
2016-04-08 07:35:53 +02:00
Florian Bruhin
2aef8913ec
travis: Don't install recommended packages via apt
...
This passes --no-install-recommends both for Dockerfiles and Travis
itself.
2016-04-06 08:22:41 +02:00
Florian Bruhin
14eb63d9e9
ci/install: Fix updating of pip on Appveyor
...
Windows can't update pip when using the wrapper-executable.
2016-04-06 07:43:55 +02:00
Florian Bruhin
57cb812219
ci/install: Wait 30s before re-calling apt-get
...
See #1396 .
2016-04-06 07:14:21 +02:00
Florian Bruhin
b70975223f
travis: Use sudo -H to call pip
...
pip apparently needs this to make caching work properly?
See #1396 .
2016-04-06 07:13:03 +02:00
Florian Bruhin
812c255379
travis: Use pip install -U to install packages
2016-04-06 07:12:21 +02:00
Florian Bruhin
2ad4fa5c8a
ci/install: Upgrade pip on Travis/AppVeyor
...
See #1396
2016-04-06 07:11:57 +02:00
Florian Bruhin
fb741582ef
scripts/dev/ci/install: Retry apt-get if it fails
2016-04-05 12:43:51 +02:00
Florian Bruhin
6c1ee07c85
travis: Self-update npm in eslint env
2016-04-05 07:34:57 +02:00
Florian Bruhin
f91935c8e8
freeze: Add pkg_resources._vendor.six
...
Another package added by pkg_resources and not picked up by cx_Freeze...
2016-04-04 21:31:27 +02:00
Florian Bruhin
910adaf097
build_release: Don't call update_3rdparty.main
...
main tries to parse sys.argv which will fail when called from
build_release when e.g. --asciidoc is given.
2016-04-04 18:32:49 +02:00
Florian Bruhin
9b25f8f91d
Add --cheatsheet to src2asciidoc.py
2016-04-01 18:18:41 +02:00
Florian Bruhin
dd9145d650
travis: Remove sources.list patching again
...
Turns out the other mirrors aren't really more stable either.
2016-03-31 21:26:44 +02:00
Florian Bruhin
25555682dc
Merge branch 'master' of https://github.com/arsana7/qutebrowser into arsana7-master
2016-03-29 18:59:06 +02:00
Florian Bruhin
606471c4b6
Merge branch 'test_statusbar_url' of https://github.com/craftyguy/qutebrowser into craftyguy-test_statusbar_url
2016-03-29 07:07:45 +02:00
Clayton Craft
a78644a199
Implement statusbar.url test
2016-03-24 12:57:14 -07:00
Florian Bruhin
cd5cb2f50d
Improve check_coverage.py output on failure
2016-03-24 06:51:22 +01:00
Florian Bruhin
ee4fa6c118
travis: Use prebuilt docker images
2016-03-16 07:23:17 +01:00
Florian Bruhin
bb2847fee9
Fix argument passing to Travis
2016-03-16 06:52:06 +01:00
Florian Bruhin
0eb12b8fa0
Fix spelling
2016-03-16 06:23:39 +01:00
Florian Bruhin
236572e0f5
Check docs on Travis, take two
...
We don't regenerate the authors there, as that doesn't work due to Travis
cloning with --depth=50
2016-03-16 06:22:36 +01:00
Florian Bruhin
172611a1b9
Revert "Revert "Check docs on Travis""
...
This reverts commit cc6d2ddc1d
.
2016-03-16 06:19:33 +01:00
Florian Bruhin
cc6d2ddc1d
Revert "Check docs on Travis"
...
This reverts commit f1ec6e1e00
.
--depth=50 on Travis messes up author generation
2016-03-15 23:22:19 +01:00
Florian Bruhin
f1ec6e1e00
Check docs on Travis
2016-03-15 22:46:49 +01:00
Florian Bruhin
07d31634c6
Add script to check for doc changes
2016-03-15 22:43:47 +01:00
Florian Bruhin
123de8783f
ci/install.py fixup
2016-03-15 19:32:20 +01:00
Florian Bruhin
62db2c724f
Try to run Docker on Travis
2016-03-15 19:25:01 +01:00
Florian Bruhin
cc94e7bfee
Move ci_install.py to subdir
2016-03-15 19:20:28 +01:00
Florian Bruhin
43a4a6a3e7
Add pkg_resources._vendor.pyparsing when freezing.
...
This is similar to 85299d293f
.
2016-03-02 08:01:47 +01:00
avk
c9bb6d0111
tests for browser.network.pastebin - code refactor
2016-02-22 20:46:22 +01:00
Florian Bruhin
d0e79b2af7
Fix lint
2016-02-19 07:39:17 +01:00
Florian Bruhin
0b362e76ea
Move pylint plugins to an installed package.
...
This means we can now run things like running pylint --version without having
to set PYTHONPATH correctly now.
When using skip_install=true, the plugins wouldn't work as they need to import
qutebrowser.
We have to keep setting PYTHONPATH in run_pylint_on_tests.py, otherwise we get
this error I don't quite understand:
F: 1, 0: error while code parsing: Unable to load file
'/home/florian/proj/qutebrowser/git/__init__.py' ([Errno 2] No such
file or directory: '...') (parse-error)
2016-02-19 07:15:09 +01:00
Florian Bruhin
67b9904772
Include pytest-xvfb properly in frozen tests
2016-02-19 06:52:19 +01:00