Commit Graph

187 Commits

Author SHA1 Message Date
Omer Katz
dd2608e126 All network operations should be retried in order too prevent build failures due to network errors and large matrixes should fast finish. 2014-09-10 10:25:17 +03:00
hugovk
339a63ed69 Fail fast: move installation stuff that's not needed in the script: section closer to where it's needed. This saves time by avoiding it when a test fails. 2014-08-29 16:03:58 +03:00
hugovk
99a3a00c24 Also pep8/pyflakes *.py in parent dir 2014-08-28 17:23:39 +03:00
wiredfool
56e3b6047a Merge pull request #850 from hugovk/pyroma
Pyroma installation is slow on Py3, so just do it for Py2
2014-08-19 09:41:46 -07:00
Hugo
30979d4dd4 Fix typo 2014-08-17 23:34:12 +03:00
Hugo
ce89d19691 No need to time now Travis has time tags
http://blog.travis-ci.com/2014-08-13-per-command-time-tags
2014-08-16 18:45:36 +03:00
Hugo
616d8cd4c0 Pyroma installation is slow on Py3, so just do it for Py2 2014-08-16 18:12:31 +03:00
wiredfool
c216c6a71e Adding coverage support for C code 2014-07-31 12:18:09 -07:00
hugovk
a5302dcea9 Cover pypy 2014-07-30 12:04:04 +03:00
hugovk
c7a6f162ca Add new pypy3: http://blog.travis-ci.com/2014-07-24-upcoming-build-environment-updates/ 2014-07-30 11:30:46 +03:00
hugovk
8c60de375d Workaround to test PyQt: https://github.com/travis-ci/travis-ci/issues/2219#issuecomment-41804942 2014-07-21 12:15:23 +03:00
hugovk
64bf7d466f Fail fast: -x to stop running tests after the first error or failure 2014-07-20 01:17:10 +03:00
hugovk
65cbdae449 Run nose in verbose mode so we can see the tests being run/skipped. Override __str__ in PillowTestCase for nicer output, and make sure all tests are derived from PillowTestCase. 2014-07-20 01:16:51 +03:00
hugovk
e24cd3652c Try travis_retry to avoid spurious pyroma installation failure 2014-07-07 22:34:34 +03:00
wiredfool
a414986ee9 Merge from master 2014-07-05 11:02:13 -07:00
wiredfool
cedd8c2106 Failing test for messed up P image on write only format 2014-07-05 10:25:16 -07:00
Hugo
b7954d8f02 No need to send empty PyPy coverage to Coveralls
Otherwise it just shows up as grey, question mark:
https://coveralls.io/builds/929022
2014-07-03 15:09:33 +03:00
Alex Clark ☺
28552f1589 Merge pull request #760 from hugovk/diff_cover
Show coverage and quality reports for each diff
2014-07-02 18:34:15 -04:00
wiredfool
b53184aa30 Reverting pr#755 changes to .travis.yml 2014-07-01 11:52:52 -07:00
wiredfool
2ca9ffba5d renabling pyroma 2014-07-01 09:09:00 -07:00
hugovk
443cc908ae Show pyflakes quality violations (which can be programming errors) before pep8 (which is just style). 2014-07-01 16:25:24 +03:00
hugovk
e220e597bf Separate install and report scripts for diff-cover 2014-07-01 02:16:34 +03:00
wiredfool
9dd559cb50 Enable multithread testing for travis 2014-06-30 15:35:24 -07:00
wiredfool
2faf36ab5b Not enabling multithreaded tests on travis 2014-06-30 15:30:05 -07:00
wiredfool
24cd3d2cfa Make nose run tests in parallel 2014-06-30 15:21:19 -07:00
hugovk
d002e5f690 Move diff-cover commands to diffcover.sh 2014-07-01 00:22:44 +03:00
hugovk
b72b6395c0 Don't run on Py3.x because installation takes ~4m , or ~2m with CFLAGS=-O0. Installation is ~1m30s for 2.x or ~30s with flags. 2014-06-30 23:57:16 +03:00
Hugo
d8f55e3f50 Merge pull request #748 from wiredfool/djpeg
Prevent shell injection
2014-06-30 02:16:06 +03:00
hugovk
3ea4780bdc Comment diff-cover 2014-06-29 12:39:34 +03:00
hugovk
38c3dd8c7d Build diff_cover (and more importantly its dependencies such as lxml) with no optimisations to speed up install. Use wheel if possible 2014-06-29 10:41:41 +03:00
hugovk
d5bb962f83 Add test to ensure a Pyroma is a 10/10 Mascarpone 2014-06-28 23:48:14 +03:00
hugovk
ae82c079df Fetch the remote master branch before running diff-cover 2014-06-28 11:18:33 +03:00
hugovk
254d64cf8b Show coverage and quality reports for just the committed diff 2014-06-28 11:02:09 +03:00
Michael Brown
b5ab5a49e7 Add libjpeg-turbo-progs to travis install 2014-06-27 19:07:20 -04:00
wiredfool
ff95b8bc51 Limit buildprocs on travis 2014-06-24 16:01:05 -07:00
hugovk
7178279b21 Specify tests more closely to avoid things like Tests/cms_test.py 2014-06-10 13:02:52 +03:00
hugovk
c8b9411321 Fix test path for Travis CI 2014-06-10 12:38:20 +03:00
hugovk
0878dfd010 Update Travis CI to run new tests based on unittest 2014-06-10 12:26:50 +03:00
hugovk
beedca78e3 Show counts of pep8/pyflakes after build 2014-06-02 15:57:50 +03:00
hugovk
6ca9e9d703 Keep PyPy first, it's still a little slower 2014-05-14 08:47:13 +03:00
hugovk
41d3c386a9 Don't cover PyPy: it fails intermittently and is x5.8 slower (#640) 2014-05-14 08:17:49 +03:00
hugovk
53f17f690d 'Dummy' commit to force rebuild. Extra reporting may be useful too. 2014-05-09 13:21:26 +03:00
hugovk
56fe245dd1 Don't allow 3.4 failures 2014-05-09 11:53:49 +03:00
hugovk
0de2212653 Add 3.4 back 2014-04-30 11:07:43 +03:00
hugovk
d8e4ed1198 system_site_packages was causing build errors. Allow 3.4 as a failure for now, as a PendingDeprecationWarning is causing failures; this is a problem with the test runner not liking any print output. 2014-04-30 11:05:15 +03:00
Hugo
522e0ff31c Python 3.4 is live on Travis CI
http://blog.travis-ci.com/2014-04-28-upcoming-build-environment-updates/
https://twitter.com/travisci/status/461365365587456000
2014-04-30 10:06:35 +03:00
Hugo
b917623513 Run slow pypy first
It's always the slowest and we should give it a head start so we're not waiting for it to finish at the end. It means we're making the most use of our parallel job-runners for the quicker jobs.

See also #632.
2014-04-18 15:11:05 +03:00
hugovk
3e9cde4412 Use tester.py's built-in coverage and coverage.py's built-in cleanup 2014-04-08 12:28:00 +03:00
hugovk
5e0d2a3004 Add pep8 and pyflakes reports to Travis CI 2014-04-05 01:25:55 +03:00
hugovk
4474917fc2 Re-enable notifications 2014-04-02 13:53:34 +03:00
hugovk
ec0c933a3c Include PIL/*.py for coverage to see if it includes unexecuted code 2014-04-02 12:12:47 +03:00
hugovk
b6d44fe31c Only measure coverage of code in the PIL directory, but includes all those files, even those unexecuted 2014-04-02 11:57:02 +03:00
hugovk
cd98729436 Omit library modules from coverage 2014-04-02 11:40:40 +03:00
hugovk
d514c1fb64 Add coverage report 2014-04-02 11:00:43 +03:00
wiredfool
33dda2ef61 Removing python-tk install [skip ci] 2014-03-26 14:37:38 -07:00
wiredfool
8ffcf97070 Correct resolution of typo 2014-03-26 14:11:41 -07:00
wiredfool
b91326b195 Tpyo in script path 2014-03-26 13:46:00 -07:00
wiredfool
31b84f41bc refactored out dependencies 2014-03-26 13:22:37 -07:00
wiredfool
7e80ce9ce0 Reenabling, timing 2014-03-26 12:04:54 -07:00
wiredfool
9e5d597b4d use cmake to set prefix, instead of DESTDIR env variable 2014-03-26 11:31:06 -07:00
wiredfool
89507d16e3 added jpeg2k build 2014-03-26 10:49:48 -07:00
wiredfool
e0d42d0e02 Speed this up for now 2014-03-26 09:54:22 -07:00
wiredfool
b97d220b2c Set prefix to not require ld preload on travis 2014-03-26 09:53:45 -07:00
wiredfool
c4cedd50eb Leave CWD in the right place 2014-03-26 09:29:47 -07:00
wiredfool
d97244181d Adding current webp dependency to travis 2014-03-26 09:13:49 -07:00
hugovk
526482b965 Forgot sudo 2014-03-25 18:39:07 +02:00
hugovk
1f0e556389 Possible fix for pypy
Idea from https://github.com/cpbotha/nvpy/issues/19#issuecomment-9732016
2014-03-25 18:24:01 +02:00
hugovk
d7e5b3fd57 Possible fix for pypy
Idea from http://www.tismer.com/pypy/irc-logs/pypy/pypy.2013-11-18.log.html
2014-03-25 17:46:00 +02:00
hugovk
2bbc7f0c7d Add pypy as an allowed failure 2014-03-24 16:29:09 +02:00
wiredfool
288a563d1a merge from master 2014-01-31 13:45:31 -08:00
cgohlke
95d8c312b4 Fix failing Travis CI due to invalid YAML 2014-01-11 13:19:46 -08:00
wiredfool
2921b5c5e5 Getting travis into the testing loop 2014-01-05 21:36:29 -08:00
wiredfool
886b075526 Merge from master 2013-11-20 22:52:47 -08:00
wiredfool
661e3108f2 testing pyqt4 on travis 2013-11-20 22:44:00 -08:00
Esteban Santana Santana
c6c32804d0 Added ghostscript dependency.
Travis needs a list of packages to install and we need the ghostscript package to successfully run our EPS test suite.
2013-11-20 01:44:38 -06:00
wiredfool
1a6ca03ec7 switched travis to lcms2 2013-10-02 16:37:04 -07:00
Alex Clark ☺
d92e2737f7 Merge pull request #260 from cgohlke/patch-2
Fix ImportError during selftest. Remove path silliness.
2013-06-30 15:29:40 -07:00
Alex Clark
ee87145bfe Why are we installing python-imaging?
We *are* Python Imaging
2013-06-30 18:07:05 -04:00
Christoph Gohlke
c0a39b98fa Use --inplace option
To run Travis again
2013-06-30 12:02:16 -07:00
Christoph Gohlke
9ef78fab61 Configure Travis to build inplace 2013-06-30 11:37:31 -07:00
wiredfool
3eb0bdb465 check to see that we're not cross loading the PIL libraries 2013-04-19 17:18:10 -07:00
wiredfool
6bcc8a3922 added dependencies 2013-03-19 10:18:25 -07:00
Alex Clark
a67b849bb0 Back to all four, fixes #79 2013-03-08 12:19:25 -05:00
Alex Clark
00b43ac81a "Officially" only support 2.7 and 3.3 2013-03-08 09:47:03 -05:00
Alex Clark
de957b6382 Travis not using tox.ini? 2013-03-07 09:06:51 -05:00
Alex Clark
170bb0a78f Remove 2.5 support on travis 2013-02-27 19:06:06 -05:00
Marc Abramowitz
66c0217619 Add .travis.yml for Travis CI (http://travis-ci.org/) 2012-06-11 23:27:33 -07:00