Commit Graph

14 Commits

Author SHA1 Message Date
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