Commit Graph

44 Commits

Author SHA1 Message Date
Miss Islington (bot) cd57b48ef9
bpo-33570: TLS 1.3 ciphers for OpenSSL 1.1.1 (GH-6976)
Change TLS 1.3 cipher suite settings for compatibility with OpenSSL
1.1.1-pre6 and newer. OpenSSL 1.1.1 will have TLS 1.3 cipers enabled by
default.

Also update multissltests and Travis config to test with latest OpenSSL.

Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit e8eb6cb792)

Co-authored-by: Christian Heimes <christian@python.org>
2018-05-22 14:40:46 -07:00
Miss Islington (bot) 7da582d3b5
Clean up Travis config (GH-5727)
(cherry picked from commit 7eb3f8226e)

Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
2018-02-18 08:39:51 -08:00
Miss Islington (bot) d5be8e13b0
bpo-30638: Add clinic to `make regen-all` (GH-5671)
Also, use PYTHON_FOR_REGEN for clinic and blake2s_impl.c rather than PYTHON_FOR_BUILD, and update .travis.yml to make use of the change.
(cherry picked from commit d6ff8a7037)

Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
2018-02-17 16:23:59 -08:00
Miss Islington (bot) e39429ab90 travis: Use -O3 option (GH-5599)
We don't use debugger on Travis.
(cherry picked from commit 8ff5356473)

Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
2018-02-10 20:56:22 +09:00
Miss Islington (bot) ad3997c592 bpo-32802: Fix Travis build (GH-5589) (GH-5590)
Fix bug in travis configuration where it did not run the tests when
a change includes both code and doc changes.
(cherry picked from commit 32921f9082)

Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
2018-02-08 11:42:46 -08:00
Ammar Askar b2ec3615c8 Fix changed file detection on Travis (GH-3129)
Travis when merging changes from a pull request onto the target branch
does not perform a rebase, instead it does a simple merge which causes
the PR commits to retain their commit dates. This means that the commit
log can potentially look like:

PR merge <-- HEAD
normal master commit <- master
more commits from normal workflow
PR commit 1
another master commit
PR commit 2

Performing a git diff from PR commit 2 to master will accidentally
include files that should not be there.

Closes python/core-workflow#14
2018-01-27 23:53:56 +03:00
Christian Heimes ced9cb5303
bpo-32549: Compile OpenSSL 1.1.0 on Travis CI (#5180)
Use an improved version of multissl test helper to compile a local copy
of OpenSSL 1.1.0g.

Signed-off-by: Christian Heimes <christian@python.org>
2018-01-16 21:02:26 +01:00
Ned Deily 122fc136b3
Revert "bpo-30487: automatically create a venv and install Sphinx when running make (GH-4346)" (#4592)
Fix breakage documented in bpo-32149.
This reverts commit d8d6b91221.
2017-11-27 17:07:32 -05:00
Caleb Hattingh d8d6b91221 bpo-30487: automatically create a venv and install Sphinx when running make (GH-4346) 2017-11-26 15:18:30 -06:00
Victor Stinner 87d332dcdb bpo-31810: Add smelly.py to check exported symbols (#4057)
* Add Tools/scripts/smelly.py: script checking if all symbols
  exported by libpython start with "Py" or "_Py".
* Modify "make smelly" to run smelly.py: the command now fails with a
  non-zero exit code if libpython leaks a "smelly" symbol.
* Travis CI now runs "make smelly"
2017-10-24 01:29:53 -07:00
Thomas Moreau e8c368df22 bpo-31540: Allow passing multiprocessing context to ProcessPoolExecutor (#3682) 2017-10-03 11:53:17 +02:00
Victor Stinner a7b3bc554c Travis CI: run coverage test using --fail-env-changed (#3541) 2017-09-13 05:17:27 -07:00
Victor Stinner 501b324d3a bpo-31355: Travis CI: remove the macOS job (#3367) 2017-09-06 02:57:14 +02:00
Ned Deily fcd97d4438 Include additional changes to support blurbified NEWS (#3340) 2017-09-05 00:46:18 -07:00
Christian Heimes 8adc73c2c1 Travis: use ccache (#3307) 2017-09-05 01:48:54 +02:00
Victor Stinner 92b1f90143 bpo-31231: Fix pythoninfo in Travis config (#3134)
bpo-31231, bpo-30871: Replace "./python -m test.pythoninfo" with
"make pythoninfo", since macOS uses ./python.exe.
2017-08-18 17:30:51 +02:00
Victor Stinner b907abc885 bpo-30871: Add test.pythoninfo (#3075)
* Add Lib/test/pythoninfo.py: script collecting various informations
  about Python to help debugging test failures.
* regrtest: remove sys.hash_info and sys.flags from header.
* Travis CI, Appveyor: run pythoninfo before tests
2017-08-17 16:40:51 +02:00
Victor Stinner 5b392bbaeb bpo-30822: Exclude tzdata from regrtest --all (#2775)
When running the test suite using --use=all / -u all, exclude tzdata
since it makes test_datetime too slow (15-20 min on some buildbots)
which then times out on some buildbots.

-u tzdata must now be enabled explicitly, -u tzdata or -u all,tzdata,
to run all test_datetime tests.

Fix also regrtest command line parser to allow passing -u
extralargefile to run test_zipfile64.

Travis CI: remove -tzdata. Replace -u all,-tzdata,-cpu with -u all,-cpu since tzdata is now excluded from -u all.
2017-07-20 15:46:32 +02:00
Brett Cannon 70cb1875bb Check the whitespace of pull requests on Travis (GH-2367) 2017-06-24 16:51:23 -07:00
Zachary Ware 3f8f16d102 Show what's changed when Travis fails regen check (GH-2095)
Also fixed a few more line endings that were missed in GH-840, which were causing failure.
2017-06-10 23:04:36 -05:00
Zachary Ware 0afbabe245 Use Travis to make sure all generated files are up to date (GH-2080) 2017-06-10 21:37:40 -05:00
Zachary Ware 167e0fc211 Install dependencies in Travis OSX build (GH-1952) 2017-06-05 19:11:29 -05:00
Zachary Ware c53b13b270 bpo-30417: Disable 'cpu' and 'tzdata' resources on Travis (GH-1928)
Also weakens the 'should this be run?' regex to allow all builds when .travis.yml changes.
2017-06-05 18:42:17 -05:00
Brett Cannon 21c2dd7cf8 Turn on macOS builds for Travis (GH-1846)
Initially the macOS builds are allowed to fail until such time that they can be determined to be stable and not add an unacceptable amount of time to the overall Travis-passing process.
2017-06-03 10:24:17 -07:00
Hiro Asari a5aa72ac78 Fix Travis config to reinstate test build (GH-1879) 2017-05-31 15:34:00 -07:00
Antoine Pitrou eba68e2c42 Build docs in parallel (#1842) 2017-05-29 12:05:45 +02:00
Mariatta fca224f117 bpo-30380: Pin the version of Sphinx used to build the documentation (GH-1612) 2017-05-16 13:48:25 -07:00
Brett Cannon 31b3901a07 Comment as to why docs are built against Python 3.6 (#1550) 2017-05-11 10:45:34 -07:00
Brett Cannon ad2f9e2c8a Drop the standard gcc test build on Travis (GH-853)
Instead have gcc be used for the coverage build so gcc is exercised in at least one place.
2017-03-27 16:39:54 -07:00
Zachary Ware 334e9ec938 Treat Sphinx warnings as errors (GH-832) 2017-03-26 21:31:31 -05:00
Brett Cannon 77ed11552d Drop C++ header compatibility test (#718)
The $CXX environment variable is not exported under the 'c' language on Travis.
2017-03-19 09:49:55 -07:00
Brett Cannon 993d4b3440 Combine the C++ header CI build into the main C build (GH-697)
This will eliminate one of the builds in Travis, allowing for CI overall to complete faster.
2017-03-17 15:29:27 -07:00
Serhiy Storchaka 4a2ffce791 Exit Travis when only Misc/* is changed. (#564)
No need to wait passing tests after resolving Misc/NEWS conflicts.
2017-03-08 20:22:16 +02:00
Victor Stinner 91b0e7d0ca Doc/Makefile: set PYTHON to python3 (#124)
rstlint.py run by "make check" doesn't support Python 2.

"make venv" runs "$(PYTHON) -m venv", whereas Python 2 doens't
provide the venv module: it's a module of Python 3 standard library.
2017-02-15 23:36:08 +01:00
Zachary Ware 532519770d More Travis docs build tweaks (GH-113)
- Return to always building the docs, it's a relatively cheap operation,
  the check had a bug, and the docs build depends on other files.
- Add `make suspicious`
- Do all three checks as one `make check suspicious html` invocation for
  earliest possible exit in case of issues.
2017-02-15 16:18:03 -06:00
Donald Stufft 984eef7d6d Only run Travis tests on master and X.Y branches (GH-102)
If someone pushes a branch to python/cpython and then creates a PR
it will cause Travis to run tests needlessly, once for the PR and
once for the push. This will limit the branches that Travis will
run tests for to the `master` branch and branches that match the regex
`^\d\.\d$`.

This will have the effect that if someone purposely makes another branch
they won't get tests to run, but in that rare case they can adjust this
themselves.
2017-02-14 17:21:32 -08:00
Brett Cannon b52260d8bf Have Travis consider a pull request as passing as soon as required tests complete (#101)
Without this flag, the coverage test will hold up the status of the pull request.
2017-02-14 19:37:15 -05:00
Berker Peksag c33ee85b6f Use 'make check' instead of 'python3 tools/rstlint.py' (#96) 2017-02-14 17:19:34 +03:00
Berker Peksag 157c0b86b8 Only run CI checks when appropriate files have changed (#74)
Closes python/core-workflow#14
2017-02-14 12:57:26 +03:00
Victor Stinner 2b501866ed Travis CI: run rstlint.py in the docs job (#68)
Currently, http://buildbot.python.org/all/buildslaves/ware-docs
buildbot is only run as post-commit. For example, bpo-29521 (PR#41)
introduced two warnings, unnotified by the Travis CI docs job.

Modify the docs job to run toosl/rstlint.py.

Fix also the two minor warnings which causes the buildbot slave to
fail.
2017-02-13 15:30:05 +01:00
Zachary Ware 29896ad3d3 Make Travis docs build more lenient (#16) 2017-02-11 04:02:18 +01:00
Donald Stufft 4538ddcacc Fix bpo-29528 Use a secure variable to stop spam (#13)
If the IRC notification is stored in plaintext, then anyone who forks
the repository and also adds it to travis will send notifications to
the IRC channel for their fork by default. Since the secure variable
is encrypted using a repository specific key, this will only work when
it is being built using the correct repository.
2017-02-11 01:58:34 +01:00
Victor Stinner 0d5f11061a Don't treat warnings as error in Travis docs job (#7)
bpo-29527.
2017-02-11 01:26:07 +01:00
Brett Cannon bb09c863e9 Add a Travis configuration file 2017-02-10 14:21:15 -08:00