263 Commits
Author SHA1 Message Date
Wilfried Teiken 827c93510c Merge branch 'add_dns01_challenge' of github.com:wteiken/letsencrypt into add_dns01_challenge 2016-07-31 20:13:36 -04:00
bmwandGitHub 950710bdce Merge pull request #3042 from TheNavigat/envlist
Limiting tox envlist to really needed tests
2016-06-17 12:37:17 -07:00
Jacob Hoffman-Andrews 91cd19158e Improve user experience for linting.
Don't run pep8 for directories that we don't actually enforce pep8 on.
Install dependencies with -q.
Don't print reports, they make it hard to find the actual errors.
Remove deprecated fields from acme .pylintrc, they cause unnecessary messages
about deprecation.
2016-06-04 22:53:51 -07:00
Amjad Mashaal 4a8f71277c Limiting tox envlist to really needed tests 2016-05-28 02:03:51 +02:00
Wilfried Teiken 6196cf0aa7 Merge branch 'master' into add_dns01_challenge 2016-04-25 00:40:27 -04:00
Brad Warren 214343ed6a rename letshelp-letsencrypt 2016-04-13 17:42:19 -07:00
Brad Warren 4fab8751b2 s/letsencrypt/certbot letsencrypt-compatibility-test 2016-04-13 16:58:21 -07:00
Brad Warren a43fac3277 s/letsencrypt/certbot letsencrypt-nginx tests 2016-04-13 16:45:54 -07:00
Brad Warren 2002511f81 s/letsencrypt/certbot letsencrypt-apache 2016-04-13 16:30:57 -07:00
Brad Warren 3961b70deb s/letsencrypt/certbot 2016-04-13 16:03:59 -07:00
Jakub Warmuz 3516b70884 apacheconftest: toxinidir instead of . 2016-04-10 18:45:08 +00: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
Roy Wellington Ⅳ af22467e07 Newline at end of tox.ini. 2016-02-26 21:53:31 -08:00
Wilfried Teiken e8d09ea994 Merge remote-tracking branch 'upstream/master' into add_dns01_challenge 2016-02-12 23:32:34 -05:00
Brad Warren 45ee1eb889 Merge branch 'testing-dev-extras' 2016-02-12 16:19:57 -08:00
Erik Rose aefd5b25e1 Revert switch to python setup.py test in tox.ini.
This had more of a purpose when we were moving mock to test_requires. I'll reintroduce this in the separate PR for that.

Also bring back the testing extra in tox for now.
2016-01-19 16:10:17 -05:00
Wilfried Teiken b9dafc203f Merge branch 'master' into add_dns01_challenge 2016-01-14 23:01:06 -05:00
Erik Rose ed562645e0 Master master into letsencrypt-auto-release so Travis will build it. 2016-01-11 21:45:16 -05:00
Erik Rose 6c05197a43 Remove mock as an install requirement.
The motivation is to free us of a reliance on a rather modern version of setuptools, which caused le-auto failures for people on Wheezy and other older distros. (The alternative would have been to forcibly upgrade setuptools as the old le-auto did, but less is more.)

Mock is used only in tests, so we move it to tests_require. It will still be installed automatically when setup.py test is run. Give all packages a test_suite so this works.

The "testing" extra remains for optional packages not required for the nose tests but used in tox. However, the extra is much less useful now and is a candidate for deletion. We could roll the list of packages therein into the tox config so as not to favor any particular package.

Remove tests_require=install_requires, which I don't think does anything useful, since install requirements are implicitly installed when running setup.py test.

Fix tests to pass with mock removed. We had to stop them pulling down LE from PyPI, since the current version there (0.1.1) requires mock and explodes when `letsencrypt` is run.
2016-01-11 21:26:41 -05:00
Jakub Warmuz 86d6d27045 Clean up dev/testing extras messup (fixes #2140). 2016-01-10 18:37:41 +00:00
Jakub Warmuz 3cddb15023 Merge remote-tracking branch 'github/letsencrypt/master' into pyopenssl 2016-01-10 11:25:12 +00:00
Wilfried Teiken e7ce5e9f53 Merge branch 'master' into add_dns01_challenge 2016-01-09 15:19:47 -05:00
Erik Rose 5512838377 Get le-auto tests running on Travis. 2016-01-08 17:39:51 -05:00
Jakub Warmuz dba69d079f Separate pylintrc for acme 2016-01-07 22:20:46 +00:00
Brad Warren a815ddbafd Remove excessive newline 2016-01-07 10:05:33 -05:00
Brad Warren 94508b00df Don't pin pyparsing version 2016-01-06 21:57:15 -05:00
Brad Warren 90f0b15c9d Add old dependency test 2016-01-06 21:51:42 -05:00
Brad Warren 2f569f7783 Tox fanciness 2016-01-06 21:40:26 -05:00
Wilfried Teiken 6bc3060fbb More fixes for travis tests 2016-01-06 03:11:09 -05:00
Wilfried Teiken b8a9c2597c add dns environment to pyXX 2016-01-06 02:57:53 -05:00
Wilfried Teiken e61e83f7e2 tox.ini fix 2016-01-06 02:46:29 -05:00
Wilfried Teiken cead22f4a7 Add dns env to lint/cover 2016-01-06 02:45:20 -05:00
Wilfried Teiken 52c487f462 Add new 'test' extras and update tox.ini accordingly. 2016-01-06 02:44:19 -05:00
Peter Eckersley b6531afb8d Merge pull request #1992 from letsencrypt/apache-conf-test
Apache conf tests in travis
2016-01-02 17:49:38 -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 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 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
Marius Gedminas e268e718a0 Remove py26reqs.txt
ConfigArgParse 0.10 from PyPI supports Python 2.6, so there's no more
need to install a fixed version directly from a git branch.
2015-12-03 10:07:31 +02:00
Felix Yan 324ebf468d Update tox.ini to run acme tests with Python 3.5 2015-11-14 21:09:03 +08:00
Jakub Warmuz 6f5d37fc21 requirements.txt: rename to py26reqs.txt and remove it from deps where possible.
When people see requirements.txt they tend to `pip install -r`
straight way
(c.f. https://github.com/letsencrypt/letsencrypt/issues/1252). It's
only necessary for Python2.6.
2015-10-31 12:22:42 +00:00
Jakub Warmuz b06f614e4a Merge remote-tracking branch 'github/letsencrypt/master' into py2.6-3 2015-10-17 16:06:45 +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 86cd5af76e Add comment about downstream deps fix 2015-10-16 22:17:31 +00:00
Jakub Warmuz 408903b732 tox: bring back test for letshelp_letsencrypt 2015-10-16 22:04:52 +00:00
Jakub Warmuz fd4528baa3 tox: pip install -e 2015-10-16 22:04:18 +00:00
Jakub Warmuz 2f3b6251c7 Tox: verbose nosetests 2015-10-16 21:33:02 +00:00
Jakub Warmuz fd1103ccda Tox tests detect downstream deps errors. 2015-10-16 21:33:02 +00:00
Jakub Warmuz 8a8dfd4bc3 More verbose tox python env tests 2015-10-14 18:48:43 +00:00