127 Commits
Author SHA1 Message Date
Noah SwartzandGitHub 6ede309c6a Merge pull request #4865 from certbot/irc-notifications
Turn on IRC notifications for Travis failures in master
2017-07-12 13:03:37 -07:00
Brad WarrenandPeter Eckersley 1e6ea09dbd Remove py26 oldest tests (#4856)
* Remove py26 oldest tests.

The only systems where we support Python 2.6 use certbot-auto so the oldest
supported versions of our dependencies are never used when using supported
installation methods. Let's remove this unnecessary and slow test.

* Make tox.ini happy

* Remove py26-oldest from Travis
2017-06-21 13:50:48 -07:00
Brad Warren bdf02c9fcc Turn on IRC notifications for Travis failures in master 2017-06-21 11:46:30 -07:00
Yen Chi HsuanandBrad Warren c9e9879ad9 Enable unit tests on OS X (#4697)
* Add OS X test

* Fix apache tests

* Use absolute path first so that certbot works with non-standard $PATH

Some tests use a fake $PATH, which prevents invoking `sw_vers`

* Also test Python 3 on Mac

* Set ulimit to fix "Too many open files"
2017-06-01 09:03:54 -07:00
Kevin LeandBrad Warren dc63056da7 add build of Dockerfile-dev (#4717) 2017-05-25 16:27:31 -07:00
Yen Chi Hsuan 29d25f0915 Enable boulder tests on Python 3 2017-04-15 02:32:18 +08:00
Jacob Hoffman-AndrewsandGitHub 94aa562cf2 Use latest Boulder for Travis tests. (#4180) 2017-02-14 21:19:18 -08:00
Brad WarrenandGitHub dd8253b3d6 fixes #4083 (#4148) 2017-02-01 18:14:47 -08:00
Brad WarrenandGitHub ea951150a4 Enable Py36 Tests (#3972)
* add py36 to tox

* Add Python 3.6 tests to Travis

* Provide real path to python stdlib during tests

* set logs_dir in config_test

* set *_dirs in DetermineAccountTest

* Fix TLSSNI01Test

* Fix RenewalTest

* fix test_ancient_webroot_renewal_conf
2017-01-18 10:41:11 -08:00
Brad WarrenandPeter Eckersley 00e143d369 Serialize coverage tests (#3919)
* Serialize coverage tests

* add py27_install env

* Separate cover from integration tests

* Add docker to py27 integration tests
2016-12-20 16:24:33 -08:00
Amjad MashaalandBrad Warren 1e27e43c14 Expanding tests for le-auto, adding CentOS test suite (#2671)
* Adding Dockerfile for CentOS 6

* Adding CentOS 7 to LEA tests

* Enabling CentOS 6 LEA test

* Removing CentOS 7

* Fixing nits

* Using yum to install epel-release
2016-11-10 15:05:03 -08:00
Amjad MashaalandBrad Warren c89bd421da Expanding tests for le-auto, adding Debian test suite (#2635)
* Adding Debian 7 (Wheezy) to LE tests

* Adding Debian 8 (Jessie) to LE tests

* Fixing Debian Wheezy certificate addition error

* Adding packages to LEA Debian Jessie test and refining the code commenting

* Adding installing OpenSSL to the Debian Wheezy LEA test script

* Removing LEA tests for Debian Jessie

* Fixing nits
2016-11-10 14:01:15 -08:00
Amjad MashaalandBrad Warren 469fc3775f Expanding tests for le-auto, adding Ubuntu test suite (#2548)
* Adding Ubuntu Wily to LEA testing

* Setting up certs correctly for Ubuntu 15.10

* Adding 12.04

* Removing redundant update-ca-certificates from 12.04 le-auto testing script

* Fixing OpenSSL on Precise

* Adding Vivid to le_auto tests

* Cleaning up LEA tests configuration for Trusty

* Ordering LEA test entries in .travis.yml and renaming them correctly

* Removing Ubuntu Vivid

* Refining comments

* Removing Ubuntu Wily since it reached EOL

* Removing .travis.yml duplicates

* Fixing nits
2016-11-10 13:15:17 -08:00
Brad Warrenandschoen 61094b06fd Do we need trusty in Travis? (#3737)
* do we need trusty?

* add docker as a dependency for boulder??
2016-11-03 17:19:53 -07:00
Brad WarrenandGitHub 42180ee9b5 fix travis tests? (#3695) 2016-10-26 14:34:01 -07:00
Erica PortnoyandBrad Warren d54cb76432 Remove the curses dialog, thereby deprecating the --help and --dialog command line options (#3665)
* Remove the curses dialog, thereby deprecating the --help and --dialog command line options

* Deprecate --dialog and suppress --text
2016-10-21 15:45:57 -07:00
Peter EckersleyandBrad Warren 3ae6c90a6a The sudo environments take longer to allocate (#3578)
One more tiny tweak, placing the slower sudo environments back up the list. I expect this should save us another 10-20 seconds.

- there's about a 50 second delay in starting apacheconftest, so move
   it back up the priority queue of jobs to start
2016-10-04 12:47:36 -07:00
Peter EckersleyandGitHub 290c112217 Tweak for Travis performance (#3562)
* Tweak for Travis performance

 - merge cover and py27 BOULDER_INTEGRATION into one matrix entry
 - re-order to put the fastest environments last, improving average
   case parallelism

* Also put the things most likely to fail at the top
2016-09-30 20:27:04 -07:00
Brad Warren 5dda27d757 Add nginxroundtrip and compatibility-tests to travis 2016-08-10 16:46:53 -07:00
Jacob Hoffman-Andrews ed802a6648 Fix BOULDERPATH 2016-05-23 18:47:52 -07:00
Jacob Hoffman-Andrews 2cfcfd6988 Run Boulder via docker-compose in tests.
This removes a lot of setup code we used to need in order to get Boulder to run,
and should reduce brittleness of tests based on Boulder changes.

This also unblocks Boulder from upgrading to MariaDB 10.1 in integration tests,
since changing to 10.1 syntax for user creation would break the current certbot
integration tests (which run 10.0).
2016-05-23 18:40:25 -07:00
Brad Warren d34b5fee0d Fix problem with godep and vendor directories 2016-04-18 18:08:55 -04:00
Brad Warren ae6f1c62f1 Rename misc files 2016-04-14 10:20:23 -07:00
Brad Warren 714282c82c Add boulder host 2016-04-13 10:04:22 -07:00
Jakub Warmuz df2baae476 apacheconf: sane sudo letsencrypt (fixes #2800)
- hardcoded
  `LETSENCRYPT=/home/travis/build/letsencrypt/letsencrypt/.tox/apacheconftest/bin/letsencrypt`
  causes Travis tests to fail if running under any other Travis user
  (from e.g. a fork)

- `sudo env "PATH=$PATH" letsencrypt` should make sure that sudo can
  find letsencrypt binary from virtualenv; realpath is not necessary

- sudo is called already from within the test script, no need to sudo
  the entire script
2016-04-10 17:57:21 +00:00
bmw 6a7b4a8e14 Merge pull request #2737 from TheNavigat/mariadb
Add MariaDB debugging to Travis build
2016-04-06 17:32:43 -07:00
Jacob Hoffman-Andrews cae9a81a8c Add boulder-mysql and boulder-rabbitmq hosts. 2016-04-04 16:39:24 -07:00
Amjad Mashaal bb426c8ae8 Add MariaDB debugging to Travis build 2016-03-31 22:43:16 +02:00
Erik Rose 64f31017cd Blot out Travis addons on le_auto job.
MariaDB addon is broken on Google Compute Engine jobs at the moment: see https://github.com/travis-ci/travis-ci/issues/5759.
2016-03-07 18:52:14 -05:00
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