Commit Graph

100 Commits

Author SHA1 Message Date
Pradyun Gedam 66b2c7f7ba
Move Travis files into tools/ 2018-06-15 21:54:55 +05:30
Pradyun Gedam c19f991893
Adopt Build Stages 2018-05-30 00:44:34 +05:30
Pradyun Gedam 1b07ea3725
Rework Travis CI configuration
- Use "group" terminology
- Remove tox factors
- Infer TOXENV from Travis environment (removes need to specify it)
2018-05-30 00:44:21 +05:30
Pradyun Gedam e630e0c903
Travis: Move non-installation commands to a separate file 2018-05-27 18:12:41 +05:30
Hugo 61b011293b Run functional tests for install in separate jobs (#5436)
Speeds up the end-to-end running time for Travis tests.

* Adds a new jobs to test_install* separately (using -k "[not] test_install")
* More generic cache ignore
* Move slower Python 3.5 tests before 3.4
* Factor tox envs
2018-05-26 16:46:12 +05:30
Donald Stufft 90b3db476f Drop support for Python 3.3 2018-05-17 13:34:48 -04:00
Thijs Triemstra 38355b6f2a
enable pip cache for travis build 2018-03-01 15:10:05 +01:00
anatoly techtonik 77dad642f4 Travis: Enable fast_finish (#4693)
* .travis.tml: Enable fast_finish

https://blog.travis-ci.com/2013-11-27-fast-finishing-builds/

* https://pip.pypa.io/en/latest/development/#adding-a-news-entry
2017-10-02 23:54:21 +02:00
Donald Stufft 28cca11e28 Merge pull request #4545 from pradyunsg/mypy/infrastructure 2017-09-04 02:14:25 -04:00
Pradyun S. Gedam 11451c54ec Merge branch 'master' into mypy/infrastructure 2017-09-02 16:06:48 +05:30
Benoit Pierre 8522035708 travis: pypy3 tests should now run, disallow failures 2017-09-02 02:18:33 +02:00
Donald Stufft 8860dc016a Remove vendored test support, as it's never worked
Since de-vendoring support exists only for downstream, and they need
to patch pip to get that support anyways, it seems reasonable to push
support for testing that configuration onto them. This is something
they need to do anyways, since they need to test their versions of the
vendored libraries.

See https://github.com/pypa/pip/pull/4657 for more information.
2017-08-31 14:53:00 -04:00
Pradyun S. Gedam cd205fbd51 Re-order Travis jobs (#4669) 2017-08-16 13:06:54 -04:00
Pradyun S. Gedam 9986c0f1a7 Travis: Upgrade to Trusty and MyPy 5.8.0 (#4652)
* Upgrade to Trusty on Travis

Before Travis pushes us forcefully, it makes sense to ensure that the flip won't break our builds.

* Show failures because travis misbehaves occasionally

* Try out newer PyPy versions on Travis

* Use pypy and pypy3

🎉

* Revert "Show failures because travis misbehaves occasionally"

This reverts commit 7434fd6103.

* Allow PyPy3 to fail
2017-08-09 16:12:32 -04:00
Pradyun S. Gedam 0f9d259fc7 Add basic mypy support 2017-07-17 22:19:31 +05:30
Pradyun S. Gedam 34100d406e Merge linting tests onto 2 jobs (#4566)
* Merge linting tests onto 2

* Use a common section to remove repetition
2017-07-05 19:51:42 -04:00
Pradyun S. Gedam d2574efdcf Travis: Improve build speeds and upgrade PyPy version (#4590)
* Try using a different version of pypy

* Try everything

* Switch to simpler names

* Try using container build with newest PyPy

* Use container build everywhere

* Remove a useless job
2017-07-02 13:47:37 -04:00
Pradyun S. Gedam 731989a641 Add a comment back 2017-06-13 17:59:33 +05:30
Pradyun S. Gedam 3fd4beb46d Add an isort job 2017-06-13 17:59:33 +05:30
Pradyun S. Gedam 661e2e81a5 Reformat .travis.yml
Sort the keys alphabetically.
2017-06-13 17:59:33 +05:30
Donald Stufft 59cb562d59 Fix up some bookkeeping 2017-03-18 14:52:14 -04:00
Donald Stufft ac55737e7a Remove the wheel-less vendor tests (#4341)
The wheel based vendor tests should get us the same testing without
the issue of trying to upgrade something that setuptools itself is
depending on. It also matches the mechanism that downstream are
currently using better.
2017-03-18 12:54:44 -04:00
Donald Stufft ca14080260 Switch to 3.6.0 final as our latest 3.x release (#4202) 2016-12-24 12:38:01 -08:00
Marc Abramowitz 55b55232e9 .travis.yml: travis_retry .travis/install.sh
so we will retry if an install fails because of a networking blip, like
for instance this one with setuptools:

https://travis-ci.org/pypa/pip/jobs/58362989
2016-11-04 11:53:51 +01:00
Donald Stufft 22f2e01be5 Python 3.6 is working on Travis so require it (#4039) 2016-10-29 15:38:12 -04:00
Xavier Fernandez 067b473124 Fix travis and tox configurations for 3.6 and 3.7 2016-10-15 23:43:58 +02:00
Donald Stufft d503c209a0 Allow Nightly Python to Fail in Travis (#3978) 2016-09-17 22:39:48 -04:00
Jakub Wilk 6dc28c1b31 Fix typos 2016-06-10 21:29:43 +02:00
anatoly techtonik c73119c180 Make Travis test docs and pep8 before everything else
Because it is faster
2015-12-27 15:13:27 +03:00
Donald Stufft b11cb019a4 Drop support for Python 3.2 2015-10-01 09:36:16 -04:00
Donald Stufft 07b4dea2c4 Test the released version of 3.5 instead of dev 2015-09-14 09:26:12 -04:00
Berker Peksag 166f3d20e2 Fix InterpreterNotFound: python3.5 error.
nightly now installs Python 3.6, so switched to use 3.5-dev.

See http://docs.travis-ci.com/user/languages/python/#On-demand-installations
for more information.
2015-07-23 14:33:15 +03:00
Donald Stufft 3e33fa9b25 Don't specify a Python version for non Python version environments 2015-06-09 19:01:36 -04:00
Donald Stufft 3ae80ee50b Try using Travis's Nightly support for CPython 2015-06-09 19:01:36 -04:00
Donald Stufft 72025dbad1 Refactor our .travis.yml to be more like pyca/cryptography's 2015-06-09 18:30:19 -04:00
Donald Stufft f6856d6687 Try to test against Python 3.5 2015-05-27 21:34:17 -04:00
Donald Stufft ea40625ed4 Drop PyPy from the de-bundling tests
PyPy isn't often packages by downstream, and even when it it is
it's often not got a pip package to go with it, and if it does
then it's probably not very likely that this code will fail on
PyPy but not on CPython 2.7.

So we'll just drop them so that the tests complete faster.
2014-12-13 21:55:47 -05:00
Donald Stufft 2283f466e4 Drop Python 3.3 for unbundled
We're targeting these changes at downstream re-distributors and it's
unlikely that one of them will be willing to have a new version of
pip without the most recent version of Python 3.
2014-12-13 21:38:34 -05:00
Donald Stufft d5b2651806 Support importing from Wheels automatically 2014-12-13 21:38:34 -05:00
Donald Stufft 4a775c10dd Test unvendoring on Travis 2014-11-20 07:53:57 -05:00
Donald Stufft 1e57b28f0c Ensure that our packaging remains correct 2014-09-29 11:07:24 -04:00
Donald Stufft 4411d86f04 Use encrypted vars instead of branch names to stop forks from notifying 2014-09-26 00:30:14 -04:00
Donald Stufft 3a6da50d0f Use a regex to avoid hard coding version branches 2014-06-30 19:13:32 -04:00
Donald Stufft 7e733044af Remove OSX from our build matrix
The Travis OSX builders are incredibly inconsistent for how long
they take to run our test suite. It is currently ranging anywhere
from ~15 minutes to well beyond 50 minutes, at which point it
times out.
2014-05-08 14:24:50 -04:00
Donald Stufft cdee19c77c Exclude PyPy and Python 3.2 on OSX 2014-05-04 13:36:28 -04:00
Donald Stufft cb31669564 Run our Travis tests on OSX as well as Linux 2014-05-03 03:01:08 -04:00
Donald Stufft b5819489b2 Remove a chown for ~/.distlib 2014-04-26 12:26:49 -04:00
Donald Stufft 31fc943a98 Refactor travis install logic to move it into a shell script 2014-04-26 01:44:12 -04:00
Donald Stufft 8d9041446f Refactor the Travis running into a shell command 2014-04-26 00:56:42 -04:00
Donald Stufft a5decaaeee Don't join the channel to post messages to it 2014-03-23 12:29:30 -04:00