Commit Graph

24 Commits

Author SHA1 Message Date
Leif Ryge
000c148ad8 drop Python 2.6 (.travis.yml, doc, setup.py)
Twisted 15 dropped support for it, which causes Travis CI tests to fail on 2.6.
We still theoretically support older versions of Twisted, so perhaps we should
configure Travis to test with those? I think we should drop Python 2.6 in any
case since distros are all on 2.7 now.

I'm leaving Travis running (and ignoring) the failing PyPy tests because I
don't know why that is there.
2015-12-02 20:18:33 +00:00
Brian Warner
98732cd12c .travis.yml: unpin coverage, current one ought to work
refs ticket:2511
2015-10-16 21:52:39 -07:00
Daira Hopwood
4c55e68ff8 .travis.yml: pin coverage version to 3.7.1. fixes ticket:2511
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2015-10-01 01:11:14 +01:00
Brian Warner
759e87b24b travis: use 'git fetch' to deepen, not 'git pull'
Travis builds of branches (i.e. pull-requests) were testing the wrong
thing, because the 'git pull' was causing current trunk to be
auto-merged. At least that's what seemed to break
https://travis-ci.org/tahoe-lafs/tahoe-lafs/jobs/81517826 : it hung
forever waiting for a commit message to be entered.

Also add "sudo: false" to use travis containers (faster) instead of new
VMs. We only use pip to install dependencies, not apt, so we don't need
root.
2015-09-22 12:10:15 -07:00
HawkOwl
8fc59499af add a pypy that is allowed to fail 2015-07-29 12:21:31 +10:00
Daira Hopwood
53fc7da2ab .travis.yml: emove 'sudo: false' as requested by https://github.com/travis-ci/travis-ci/issues/2389#issuecomment-76202191
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2015-02-27 23:59:18 +00:00
Daira Hopwood
ce7a867b22 .travis.yml: add "sudo: false" option, to attempt to resolve "Connection reset by peer" problems during build.
See https://github.com/travis-ci/travis-ci/issues/2389 .

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2015-02-07 02:45:10 +00:00
Brian Warner
118d78a67d Revert "Enable DeprecationWarnings for Travis-CI even on Python 2.7. refs #2366"
This reverts commit cec7727bf9.

It caused travis (for py2.7) to fail on these tests:

* allmydata.test.test_runner.BinTahoe.test_version_no_noise
* allmydata.test.test_runner.RunNode.test_client_no_noise
* allmydata.test.test_system.SystemTest.test_filesystem_with_cli_in_subprocess
2015-01-26 22:12:00 -08:00
Daira Hopwood
cec7727bf9 Enable DeprecationWarnings for Travis-CI even on Python 2.7. refs #2366
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2015-01-22 02:49:16 +00:00
Daira Hopwood
4457b97471 Work around a Travis-CI configuration change.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2014-11-27 16:37:25 +00:00
Daira Hopwood
dff955a46a .travis.yml: remove workaround to install Twisted 13.0 which should no longer be needed.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2014-10-07 19:11:23 +01:00
Brian Warner
e80f075347 travis: remove the os.statvfs debug command
According to https://github.com/travis-ci/travis-ci/issues/2788 (which
was WONTFIXED), roughly half the travis-ci buildserver fleet runs off
tmpfs volumes, which have different notions of space-free and space-used
than real filesystems. We've adapted our tests to avoid relying upon
space-used>0, and no longer need this call to investigate the problem.

refs ticket:2290
2014-09-29 08:43:20 -07:00
Brian Warner
3a75a75f95 travis: show os.statvfs before build, to investigate #2290 2014-09-12 12:14:29 -07:00
Daira Hopwood
d95b370e81 .travis.yml: okay, fetching just tags apparently isn't sufficient (and this use of 'git pull' won't actually pull any new commits, because we'll be on a detached head).
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2014-09-02 15:08:58 +01:00
Daira Hopwood
735ec0c2ee .travis.yml: make sure that we only fetch tags and don't change the requested commit. 2014-09-02 14:51:01 +01:00
Daira Hopwood
b7e960a490 .travis.yml: really fix command used for testing.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2014-09-02 14:51:01 +01:00
Daira Hopwood
37d348ab21 .travis.yml: fix command used for testing.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2014-09-01 20:57:22 +01:00
Daira Hopwood
9566b3d45c .travis.yml: correct the --source argument to coverage (it should be a directory, not a module name).
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2014-09-01 18:08:36 +01:00
Daira Hopwood
48fc2fc79a .travis.yml: Make sure that update_version has enough history to see the last release tag.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2014-09-01 17:47:43 +01:00
Daira Hopwood
05e1341794 .travis.yml: install Twisted explicitly to work around #2249.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2014-09-01 16:50:51 +01:00
Daira Hopwood
61371a31df Support coverage reporting via coverage.io. refs #623
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2014-09-01 15:29:13 +01:00
Daira Hopwood
40e43694fa Tweak Travis IRC notification settings.
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-09-01 03:03:24 +01:00
Daira Hopwood
ec48bcf1fa Customize Travis notifications.
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-09-01 02:49:03 +01:00
Daira Hopwood
b8322c9c53 Add Travis configuration.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2013-09-01 00:45:20 +01:00