Commit Graph

40 Commits

Author SHA1 Message Date
Kodi Arfer
ad97042b6b Don't test Python 3.4 2019-03-17 18:36:53 -04:00
Kodi Arfer
abbf29165a Depend on astor 0.7 2018-07-21 11:20:10 -07:00
Kodi Arfer
bc2a5a2747 Don't test on Travis's outdated Python 3.7
See https://github.com/travis-ci/travis-ci/issues/9069 .
2018-06-05 17:32:48 -07:00
Kodi Arfer
f8d919a491 On Travis, don't allow Python 3.7 to fail 2018-03-24 12:34:43 -07:00
Kodi Arfer
f27eda16e1 Depend on an unstable version of astor
We need it for Python 3.7.
2018-03-24 12:34:43 -07:00
Simon Gomizelj
7dcf1fa63d Add python 3.7-dev to travis, allow it to fail 2018-02-09 16:27:59 -05:00
Kodi Arfer
02881cf813 Test PyPy3 on Travis 2017-08-26 21:57:43 -07:00
Kodi Arfer
55a8e8e452 Require a sufficiently recent version of pytest 2017-08-26 21:57:43 -07:00
Kodi Arfer
0fc96306bc Drop support for Python 3.3 2017-08-26 13:36:51 -07:00
Kodi Arfer
28e2c2840e Don't use Tox on Travis
It offers no clear advantage over running pytest directly.
2017-04-26 14:00:39 -07:00
Ryan Gonzalez
34304c41c7 Test Python 3.6 apart from nightly (#1133)
* Test Python 3.6 apart from nightly (ref. #1113) change to `3.6-dev`
2016-10-12 16:11:46 -06:00
Zack M. Davis
d4494151f4 experiment: can we convince Travis CI to test with nightly Python?
The docs say that "nightly" is supported, but it's less clear exactly
what our .travis.yml should say to make this happen.
2016-09-22 23:24:14 -07:00
Felix Yan
347e5612b1 Make Travis look nicer by specifying python version only for py35 TOXENV 2015-11-07 22:17:30 +08:00
Felix Yan
864fa66f22 Enable automated testing with Python 3.5
and switch travis to use tox
2015-11-03 23:32:31 +08:00
Paul Tagliamonte
1312167fb1 Remove 2.6 entirely from test runners
(But not codepaths, in case someone cares)
2015-07-22 12:37:31 -04:00
Abhishek Lekshmanan
2a4558f1d2 travis: run in container infra & remove pypy hacks
Using travis' container based infra which is faster & allows caching pip
and is faster, also after the environment update hy seems happy with
pypy2.5 so removing the hacks needed to pass that.
2015-02-26 11:29:11 +05:30
Berker Peksag
36f64b822b Remove branches configuration from .travis.yml.
"debian" branch has been already deleted.
2014-12-10 19:08:22 +02:00
Paul Tagliamonte
602f392fe7 Implement yield-from in Python 2.x as a macro
And who said you can't teach an old dog new tricks.

  ... but at the same time, drop Python 3.2 for not knowing this new
  trick.
2014-11-20 20:48:15 -06:00
Ryan Gonzalez
c88e75251c Fix Travis failures 2014-11-05 21:01:10 -06:00
Abhishek L
f326975d7c Make ci builds faster by splitting requirements
Make travis builds faster by splitting requirements into
requirements-travis.txt, which contains all the requirements necessary
for running tests, documentation related packages are omitted and added
as a part of requirements-dev.txt

Additionally .travis.yml is modified to cache pip downloads, though this
feature is yet to be rolled out for the free tier
2014-05-13 22:47:19 +05:30
Berker Peksag
229d782ce9 Enable Python 3.4 on Travis CI. 2014-04-30 09:24:19 +03:00
Berker Peksag
e57047289a Cleanup requirements, .travis.yml and tox.ini. 2014-04-20 00:46:26 +03:00
Abhishek L
ba3ba37665 Adding support for coverage tests at coveralls
This commit adds support for coverage tests at coveralls.io,
using coverage plugin from nosetests
2013-12-03 01:58:35 +05:30
Berker Peksag
3cbef507e7 PyPI is now behind a CDN. The --use-mirrors option is deprecated.
See PEP 449 and https://mail.python.org/pipermail/distutils-sig/2013-May/020848.html
for more information.
2013-11-11 03:08:48 +02:00
Bob Tolbert
fdb2385223 Add flake8 to Travis-CI to prevent these from coming back
Added new travis make target to skip flake8 on pypy but run it on all others
2013-08-24 11:14:29 -06:00
Bob Tolbert
df7bb1d29a Provide bin scripts for both Windows and *nix
Summary: This update does away with the scripts in bin and changes
setup.py to use entry_points in cmdline.py for the scripts 'hy' and
'hyc'.

This fixes installing and running on Windows.

The tests are updated to run the 'hy' script produced by setup.py
and not from bin/hy. This is more correct and makes the tox tests
run on both Window and *nix.

For running hy or nosetests directly in the source tree, you do have
to run 'python setup.py develop' first. But since tox runs and builds
dists, all tox tests pass on all platforms.

Also, since there is no built-in readline on Windows, the setup.py
only on Windows requires 'pyreadline' as a replacement.

Switched from optparse to argparse in cmdline.py

Instead of trying to manually separate args meant for
hy from args meant for a hy script, this switches from
optparse to argparse for the CLI.

argparse automatically peels out args meant for hy and leaves
the rest, including the user hy script in options.args.

This fixes the issue @paultag found running "hy foo" where
foo is not a real file. Also added a test that makes sure
trying to run a non-existent script exits instead of dropping
the user into the REPL.

Added argparse as setup.py resource (and removed from tox.ini) as well as removed uses of deprecated setf
2013-07-14 09:06:42 -06:00
Paul Tagliamonte
86af7eacf1 Add in a new core language file.
This will let us implement common functions seen in other lisps,
 and allow them to be importable, without explicit imports. The goal
 is to keep this as small as we can; we don't want too much magic.

 I've added `take' and `drop' as examples of what we can do.
2013-06-29 18:51:11 -04:00
Julien Danjou
a823aca0c8 Run unit tests against hy2py
Signed-off-by: Julien Danjou <julien@danjou.info>
2013-05-08 14:39:38 +02:00
Nicolas Dandrimont
45db4a8d0f Use unittest2 in travis for py2.6 2013-05-05 20:42:48 +02:00
Julien Danjou
17c8ecd332 Run setup.py install before running tests
Signed-off-by: Julien Danjou <julien@danjou.info>
2013-04-20 22:39:58 +02:00
Paul R. Tagliamonte
b361a230cb Why is the blacklist not working? 2013-04-10 22:00:51 -04:00
Paul R. Tagliamonte
1adf64839a Updating travis; exceptions. 2013-04-10 21:44:23 -04:00
Paul Tagliamonte
e8b423011d Update channels to include #hy on freenode 2013-04-01 09:21:12 -04:00
Paul R. Tagliamonte
a238ac53c3 Adding back Python 2.6. 2013-03-13 20:02:16 -04:00
Paul R. Tagliamonte
0228bd5539 travis docs ... 2013-03-09 17:30:07 -05:00
Paul R. Tagliamonte
a480f16e45 don't skip join 2013-03-09 17:28:57 -05:00
Paul R. Tagliamonte
a1d0de439d update travis thinger. 2013-03-09 17:25:48 -05:00
Paul R. Tagliamonte
e9d22982af Update deps. Frownyface. 2013-03-09 15:23:00 -05:00
Paul R. Tagliamonte
f51c0eee12 adding my email 2013-03-06 21:12:18 -05:00
Paul Tagliamonte
442267a146 add travis ci 2013-03-06 19:23:53 -05:00