Commit graph

168 commits

Author SHA1 Message Date
Brad Warren
f864cd0cfe Add nginxroundtrip to tox 2016-08-10 16:43:15 -07:00
Brad Warren
fc86f869a7 add compatibility tests to travis 2016-08-10 16:33:56 -07:00
Joona Hoikkala
3591667d02
Fix tox tests 2016-08-10 10:43:54 +03:00
Yen Chi Hsuan
fe76d558ed Enable unit tests of certbot core on Python 3 2016-08-06 21:09:43 +08:00
Amjad Mashaal
1fdf41e636 Adding modification check against the current /letsencrypt-auto 2016-08-04 14:22:20 +02:00
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
bmw
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
Jakub Warmuz
1802b87a12
Revert "Remove Python 2.6 support."
This reverts commit 31d37a3953.
2015-10-11 16:01:52 +00:00
Peter Eckersley
2945e0657d Don't run tox for temporarily-disabled python versions 2015-09-15 19:01:55 -07:00
Peter Eckersley
c7b4bebd23 Merge remote-tracking branch 'origin/master' into rm-py26 2015-09-15 18:08:14 -07:00
Jakub Warmuz
33c2aed021
Merge remote-tracking branch 'github/letsencrypt/master' into lint 2015-09-11 07:15:10 +00:00
Jakub Warmuz
0ebef62846
Travis: no fail on pep8 2015-09-11 07:12:49 +00:00
Jakub Warmuz
809f4966d6
Require pep8 in [testing] 2015-09-11 07:04:13 +00:00
Jakub Warmuz
fe3e8d7302
Travis: add pep8 checks 2015-09-06 09:22:34 +00:00
Jakub Warmuz
4d9db06083
Revert "Removed py3+ tests in tox"
This reverts commit 2c720b05ae.
2015-08-19 20:24:44 +00:00
James Kasten
c7aebfa26d Merge branch 'letshelp-apache' of git://github.com/bmw/lets-encrypt-preview into bmw-letshelp-apache
Conflicts:
	tox.ini
2015-08-13 21:24:26 -07:00
Brad Warren
7cb30ca838 Merge remote-tracking branch 'upstream/master' into letshelp-apache 2015-08-13 19:04:01 -07:00
Brad Warren
0aaf9f2be7 Updated tests to update challenge changes 2015-08-13 18:41:49 -07:00
Brad Warren
2c720b05ae Removed py3+ tests in tox 2015-08-11 13:37:49 -07:00
Jacob Hoffman-Andrews
35f81aeb6e Restore py26 toxenv for manual tests. 2015-08-06 10:31:57 -07:00
Brad Warren
12b9970787 Finished script besides commit and started unit tests 2015-07-27 19:26:28 -07:00
Jacob Hoffman-Andrews
31d37a3953 Remove Python 2.6 support.
Fixes https://github.com/letsencrypt/letsencrypt/issues/515
2015-07-23 10:20:47 -07:00
Jakub Warmuz
160a96052b
tox/Travis: test Python 3.3 2015-07-12 15:20:52 +00:00
Jakub Warmuz
596132292a
Travis: test Python 3.4. 2015-07-12 15:07:25 +00:00
Jakub Warmuz
7bc1cd4454
Remove shared tox venv 2015-07-12 15:04:01 +00:00
Jakub Warmuz
5d6d901655
Add py3 tox tests for acme.jose 2015-07-12 11:53:18 +00:00
Jakub Warmuz
a876a664df
Add py3 tox tests for acme.jose 2015-07-12 11:37:56 +00:00
Jakub Warmuz
a462e38cab
Update package references after subdirs rename. 2015-07-11 04:33:07 +00:00
Jakub Warmuz
db1e078c06
Shared tox envdir 2015-07-10 16:40:46 +00:00
Jakub Warmuz
b9df69af9f
Basic dev/test setup for separate package subdirectories. 2015-07-10 16:38:42 +00:00
Jakub Warmuz
b0c72410ba
Unified vector loading in letsencrypt. 2015-07-10 15:49:18 +00:00
Jakub Warmuz
887f91bdac
requirements.txt: no editable (-e) mode, no "." install. 2015-06-09 07:51:42 +00:00
Jakub Warmuz
5fbc5cee2e
Add tox.cover.sh for proper coveralls experience. 2015-05-10 16:53:22 +00:00
Jakub Warmuz
b103aae808
tox: split test/cover per pkg 2015-05-10 12:52:40 +00:00
Jakub Warmuz
d408ec5a95
Move plugins to top-level 2015-05-10 12:26:54 +00:00
Jakub Warmuz
3a6bd7123d
Move acme to top-level 2015-05-10 12:26:17 +00:00
Jakub Warmuz
a2df245567
Temporary fox for ConfigArgParse#17 2015-05-04 11:56:09 +00:00
James Kasten
016e10f415 100% test coverage, account, auth_handler 2015-04-23 19:12:15 -07:00
James Kasten
567cec1824 Fix gen_chall_path, add unittests 2015-03-27 21:08:14 -07:00
Jakub Warmuz
71d8999e7c
Bump up minimum coverage to 86% 2015-03-21 20:50:43 +00:00
Jakub Warmuz
d74ca1bbaa
tox: PYTHONHASHSEED=0 2015-03-18 15:04:27 +00:00
Jakub Warmuz
ba98b5cb22
Bump up coverage 2015-02-25 13:56:47 +00:00
James Kasten
f5c30b383a second round revisions 2015-02-23 23:18:07 -08:00
James Kasten
5d76c0feb1 Final cleanup for revoker/display 2015-02-19 22:30:11 -08:00
James Kasten
f77307c28b Finish revoker implementation and unittests 2015-02-18 04:01:49 -08:00
Jakub Warmuz
9476e7039b
Bump coverage to 73% 2015-02-11 16:41:01 +00:00
Jakub Warmuz
0849e2d21e
Merge remote-tracking branch 'github/letsencrypt/master' into acme
Conflicts:
	tox.ini
2015-02-08 22:54:40 +00:00
Jakub Warmuz
74c02363e7
tox: PYTHONPATH that includes linter_plugin 2015-02-08 12:59:47 +00:00
Jakub Warmuz
b1552052bb
tox: pip install -e (fixes #235) 2015-02-08 11:54:25 +00:00
Jakub Warmuz
9d44b10aff
Quickfix for #235 2015-02-08 10:01:36 +00:00
Jakub Warmuz
ec3bb4cf13
Merge remote-tracking branch 'github/letsencrypt/master' into acme
Conflicts:
	tox.ini
2015-02-07 22:30:24 +00:00
Jakub Warmuz
337974e675
No pylint in py2.6 tox 2015-02-06 23:41:28 +00:00