98 Commits
Author SHA1 Message Date
Peter Eckersley ce377f1a46 Merge pull request #2506 from TheNavigat/acttravis
Enabling apache-conf-test in Travis
2016-02-23 15:53:58 -08:00
TheNavigat 0e12b1fd86 Enabling apache-conf-test in Travis 2016-02-19 05:00:47 +02:00
Môshe van der Sterre 560ad7152d Removed a mention of SimpleHTTP from comments 2016-02-17 06:38:07 +01:00
Peter Eckersley ceae505751 Merge pull request #2476 from moshevds/etc_hosts
Adding required /etc/hosts entries to .travis.yml and docs/contributing.rst
2016-02-16 16:15:32 -08:00
Môshe van der Sterre 953aa2aa85 Adding required /etc/hosts entries to .travis.yml 2016-02-15 17:31:28 +01:00
Peter Eckersley 462d60def9 Reorder travis matrix by typical runtime
Since that makes most efficient use of travis's parallelism
2016-02-12 15:31:18 -08:00
Erik Rose 192c3faf7e Make the new letsencrypt-auto script the main one.
Remove the old bootstrap scripts, which have been subsumed into letsencrypt-auto-source/pieces/bootstrappers. They no longer need to be dispatched among manually: everyone can just run letsencrypt-auto --os-packages-only, regardless of OS.

Make the root-level le-auto a symlink to the canonical version. It should thus still work for people running le-auto from a git checkout.
2016-02-05 15:28:11 -05:00
Erik Rose efd4f35782 Run le-auto tests on Travis.
* We choose a different Travis infra for one of the jobs, as in https://github.com/numpy/numpy/blob/master/.travis.yml#L49.
* We keep the language as "python" so the installation of packages (like tox, which we need) doesn't fail.
* Override the before_install to disable the dpkg stuff the other jobs need.
* adduser is redundant with `--groups sudo` above, so we delete it.
2016-02-01 13:52:56 -05:00
Brad Warren 9e00cd5c2c Retry enabling pip cache 2016-01-19 15:47:50 -08:00
Brad Warren 6ae7d834cc Set Python version for all Travis tests 2016-01-12 16:10:47 -08:00
Peter Eckersley bf4793039a Merge remote-tracking branch 'origin/master' into pyopenssl 2016-01-10 02:39:54 -08:00
Jakub Warmuz 34010a0168 Python 3.5 needs explicit Travis setting 2016-01-09 13:31:50 +00:00
Jakub Warmuz 7728f4d28a Python 3 Travis testing for acme.
Despite its description,
https://github.com/letsencrypt/letsencrypt/pull/630, removed not only
Python 2.6 support, but also Travis tests against Python 3. ACME
library supports Python 3 and Travis should tests it.

This must be merged before any pending PRs agains acme library.
2016-01-09 13:24:54 +00:00
Brad Warren 8a1931e23c Run integration tests with old deps 2016-01-06 21:56:52 -05:00
Brad Warren 07b3a9fd95 Add old dependency tests to Travis 2016-01-06 21:52:14 -05:00
evilaliv3 edfa79fc5c Set python version in the travis matrix 2015-12-27 21:56:37 +01:00
Peter Eckersley f20cd73e8d For now, disable apacheconftest in travis :( 2015-12-26 20:16:41 -08:00
Peter Eckersley 068504ddbf Correct comment 2015-12-22 17:19:29 -08:00
Peter Eckersley e41ddd2cc7 Rename hackishapachetest -> apacheconftest
Reenable other travis tests as well as this one
2015-12-22 15:50:48 -08:00
Peter Eckersley 05e210d42a Also add dependencies to travis.yml 2015-12-21 16:09:57 -08:00
Peter Eckersley 8d71b2d6c3 Install Apache modules in travis 2015-12-21 16:09:46 -08:00
Peter Eckersley 7a16e2e248 Wrangle things to actually run in travis 2015-12-21 16:09:26 -08:00
Peter Eckersley a819ee146d Experimentally try sudo in travis
This may decontainerise us, so we might not want to merge even if it works...
2015-12-21 16:09:26 -08:00
Peter Eckersley d777e7faba This sort of works in tox; travis is unlikely due to sudo 2015-12-21 16:09:26 -08:00
Peter Eckersley 03fdd03a87 Experimentally try travis with the hackish-apache-test 2015-12-21 16:09:25 -08:00
Jeff Hodges d3806a926c use boulder's integration-test.py
This prevents the integration tests from getting run before the boulder
processes have finished booting in most cases. There's still some small
races with debug ports going up before RPC ports, but this flushes the
big ones (specifically, the WFE ports), and the boulder devs going to
fix the rest in integration-test.py over time.

This also makes boulder-start.sh a blocking operation. Now the TravisCI
integration tests no longer requires boulder-start.sh, we can let the
other priority of being easier for users to control (that is, basically,
make it easy to Ctrl-C) take over. That plus the idea that
self-daemonizing code is tricky to get right, especially over multiple
platforms led me to not trying to get start.py to make itself
asynchronous.

Most of this change is code movement in order to allow developers to run
boulder-start.sh once and boulder-integration.sh many times while also
not duplicating that code in order to run the tests in TravisCI.

I'm not a huge fan of both the letsencrypt's shell scripts and boulder's
integration-test.py having hard-coded file dependencies in the other's
repo.

This, however, seemed like the smallest path to code that would
spuriously break less. All the designs I was able to come up that were
maybe smaller changes either had the "starts tests before the servers
are up" problem or with a "each repo uses another repo's test code file"
problem. Those problem on top of the "it's a bigger change" problem led
me here.
2015-11-13 12:39:29 -08:00
Liam Marshall d2dacef313 Try reenabling container-based infrastructure
Try explicitly pulling from backports

Try travis's whitelisted Augeas PPA (not ours or backports)
2015-11-11 18:34:52 -06:00
Liam Marshall 731dc212a5 Try an indirect fix (suggested by @pde)
This is a squash of several commits:

`sudo apt-get`

Add -y to apt-get install
2015-11-04 21:02:01 -06:00
Liam Marshall 94f0139c4d install mysql with apt
Hack to try to get mysql to install nicely
2015-11-04 20:57:36 -06:00
Liam Marshall 9a59647224 Enable builds on beta Trusty infrastructure 2015-11-04 20:57:36 -06:00
Jakub Warmuz d5a2c7fa18 We don't use lsb-release any more 2015-10-31 11:48:19 +00:00
Jakub Warmuz f2792d0fb8 Merge remote-tracking branch 'github/letsencrypt/master' into py2.6-3 2015-10-18 19:31:16 +00:00
Jakub Warmuz 09fa1153d9 Merge remote-tracking branch 'github/letsencrypt/master' into py2.6-3 2015-10-17 07:28:04 +00:00
Jakub Warmuz 37cb419b1c Switch to Go 1.5.1 (fixes #955) 2015-10-16 22:28:22 +00:00
Jakub Warmuz 1802b87a12 Revert "Remove Python 2.6 support."
This reverts commit 31d37a3953.
2015-10-11 16:01:52 +00:00
Jacob Hoffman-Andrews 84418516c9 Limit Travis runs to master and PRs. 2015-10-10 13:31:35 -07:00
Peter Eckersley c7b4bebd23 Merge remote-tracking branch 'origin/master' into rm-py26 2015-09-15 18:08:14 -07:00
James Kasten b0085cd47b Merge pull request #704 from kuba/py3
Bring back Python 3 support for acme
2015-09-08 23:54:23 -04:00
James Kasten 10de13e261 Merge pull request #746 from kuba/containers
Travis containers (fixes #617)
2015-09-08 16:00:59 -04:00
Jakub Warmuz 86bfe61ea3 Travis: add rsyslog 2015-09-05 21:50:14 +00:00
Jakub Warmuz f5c9f92c42 Travis: addons.(apt.)packages 2015-09-05 17:23:38 +00:00
Jakub Warmuz 1c04abfe94 Travis: no sudo, install nginx and openssl. 2015-09-05 17:20:26 +00:00
Jakub Warmuz 77137f7716 Travis containers (fixes #617) 2015-09-05 17:17:25 +00:00
Jakub Warmuz ad2b589d19 Travis: remove unused "go: 1.5" stmt 2015-08-25 18:43:27 +00:00
Jakub Warmuz 7f6d4c5f84 Merge branch 'master' into py3 2015-08-25 06:35:35 +00:00
Jakub Warmuz 504ade8af5 Travis: gimme 1.5 only for integration tests 2015-08-24 20:29:25 +00:00
Jakub Warmuz 165082b37b Travis: use gimme for Go 1.5 2015-08-24 20:26:04 +00:00
Jakub Warmuz 529df611b2 Travis: different syntax for Go 1.5 version 2015-08-24 20:09:19 +00:00
Jakub Warmuz b2b042837f Use Go 1.5.
The following PRs broke our unittests:

- https://github.com/letsencrypt/boulder/pull/642
- https://github.com/letsencrypt/boulder/pull/635
2015-08-23 21:10:56 +00:00
Jakub Warmuz 0ec447f418 Revert "Remove Python 3 Travis checks"
This reverts commit 05ee92f8cd.
2015-08-19 20:26:35 +00:00