Commit Graph

25 Commits

Author SHA1 Message Date
INADA Naoki 38e8936eed
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-04-25 10:27:18 +09:00
Zachary Ware ea49c03313
[3.6] Clean up Travis config (GH-5727)
(cherry picked from commit 7eb3f8226e)
2018-02-18 15:44:49 -06:00
Zachary Ware c1b8aedfba
[3.6] 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)
2018-02-17 19:27:22 -06:00
Miss Islington (bot) fe92c44151 bpo-32802: Fix Travis build (GH-5589) (GH-5591)
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 12:01:23 -08:00
Miss Islington (bot) 4d2dd64471 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

(cherry picked from commit b2ec3615c8)
2018-01-28 01:48:09 +03:00
Victor Stinner 1d2a387b95
bpo-32316: Travis CI: use PYTHON_FOR_REGEN=python3 (#4853)
"make regen-all" requires a working python3.6 or python3. Without
"python: 3.6", Travis CI provides a "python3.6" script which ony
write an error.

Use "python3" instead.
2017-12-14 00:51:45 +01:00
Victor Stinner 11453524ed bpo-31355: Travis CI: remove the macOS job (#3367) 2017-09-05 18:41:28 -07:00
Christian Heimes 8704d5439c [3.6] Travis: use ccache (GH-3307) (#3332)
(cherry picked from commit 8adc73c)
2017-09-05 16:03:29 +02:00
Ned Deily e2543a67fb Include additional changes to support blurbified NEWS (#3340) 2017-09-05 00:10:31 -07:00
Victor Stinner 29d007bb67 [3.6] bpo-30871: Add test.pythoninfo (#3174)
* 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
(cherry picked from commit b907abc885)

* bpo-30871: pythoninfo: add expat and _decimal (#3121)

* bpo-30871: pythoninfo: add expat and _decimal

* Remove _decimal.__version__

The string is hardcoded, not really interesting.

(cherry picked from commit f6ebd838f0)

* bpo-30871: Add "make pythoninfo" (#3120)

(cherry picked from commit a3a01a2fce)

* bpo-30871: pythoninfo: more sys, os, time data (#3130)

* bpo-30871: pythoninfo: more sys, os, time data

PythonInfo now converts types other than intger to string by default.

* fix typo

(cherry picked from commit ad7eaed543)

* 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.
(cherry picked from commit 92b1f90143)
2017-08-22 00:17:15 +02:00
Victor Stinner 96ef06f397 bpo-30822: Exclude tzdata from regrtest --all (#2775) (#2777)
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.
(cherry picked from commit 5b392bbaeb)
2017-07-20 17:08:48 +02:00
Brett Cannon 57ee0c8c9e [3.6] Check the whitespace of pull requests on Travis (GH-2367) (GH-2386)
(cherry picked from commit 70cb1875bb)
2017-06-24 17:59:49 -07:00
Zachary Ware f57e34b672 [3.6] Use Travis to make sure all generated files are up to date (GH-2080) (GH-2092)
(cherry picked from commit 0afbabe245)

Also fixes some line endings missed in GH-840 backport.
2017-06-11 11:30:57 -05:00
Zachary Ware 01ea561f29 [3.6] Install dependencies in Travis OSX build (GH-1952)
(cherry picked from commit 167e0fc211)
2017-06-05 22:41:17 -05:00
Zachary Ware d125738e93 [3.6] 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.
(cherry picked from commit c53b13b270)
2017-06-05 19:10:21 -05:00
Brett Cannon ba6bfcdfb4 [3.6] Turn on macOS builds for Travis (GH-1846) (#1929)
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.
(cherry picked from commit 21c2dd7cf8)
2017-06-03 10:33:53 -07:00
Brett Cannon 767b6d7d2d [3.6] Fix Travis config to reinstate test build (GH-1879) (GH-1889)
(cherry picked from commit a5aa72ac78)
2017-05-31 15:52:39 -07:00
Mariatta 89e0a189f8 [3.6] Build docs in parallel (GH-1842) (GH-1872)
(cherry picked from commit eba68e2c42)
2017-05-30 15:29:24 -07:00
Brett Cannon 5e2016dce9 bpo-30380: Pin the version of Sphinx used to build the docs (GH-1612) (GH-1617) 2017-05-16 14:28:21 -07:00
Brett Cannon 08f9f71162 Drop the standard gcc test build on Travis (GH-853) (GH-859)
Instead have gcc be used for the coverage build so gcc is exercised in at least one place.
(cherry picked from commit ad2f9e2c8a)
2017-03-27 16:46:31 -07:00
Zachary Ware abc68484b2 Treat Sphinx warnings as errors (GH-832) (GH-834)
* Treat Sphinx warnings as errors (GH-832)

(cherry picked from commit 334e9ec938)

* Remove unused suspicious rules
2017-03-26 22:53:57 -05:00
Brett Cannon b044120f04 Drop C++ header compatibility test (#718) (#719)
The $CXX environment variable is not exported under the 'c' language on Travis.
(cherry picked from commit 77ed11552d)
2017-03-19 10:03:39 -07:00
Brett Cannon 49fc153342 Combine the C++ header CI build into the main C build (GH-697) (GH-704)
This will eliminate one of the builds in Travis, allowing for CI overall to complete faster.
(cherry picked from commit 993d4b3440)
2017-03-17 15:41:35 -07:00
Berker Peksag 5c7b8f423a Backport recent .travis.yml changes (#308)
Backported changes from master:

* b52260d8bf
* 984eef7d6d
* 532519770d
* 91b0e7d0ca
2017-02-26 16:07:12 +03:00
INADA Naoki 3337d33a45 [backport to 3.6] bpo-29529: Add .travis.yml to 3.6 branch (#25)
* Add .travis.yml to 3.6 branch

* 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.

* Only run CI checks when appropriate files have changed (#74)

Closes python/core-workflow#14

* Use 'make check' instead of 'python3 tools/rstlint.py' (#96)
2017-02-19 10:41:59 +05:30