Merge pull request #983 from felixonmars/master
Enable automated testing with Python 3.5
This commit is contained in:
commit
f92248f94e
24
.travis.yml
24
.travis.yml
@ -1,13 +1,21 @@
|
||||
sudo: false
|
||||
language: python
|
||||
python:
|
||||
- "pypy"
|
||||
- "2.7"
|
||||
- "3.3"
|
||||
- "3.4"
|
||||
cache: pip
|
||||
# command to run tests
|
||||
script: make travis
|
||||
matrix:
|
||||
include:
|
||||
- python: 3.5
|
||||
env: TOXENV=py35
|
||||
env:
|
||||
- TOXENV=py27
|
||||
- TOXENV=py33
|
||||
- TOXENV=py34
|
||||
- TOXENV=pypy
|
||||
- TOXENV=flake8
|
||||
install: pip install tox
|
||||
script: tox
|
||||
cache:
|
||||
directories:
|
||||
- .tox
|
||||
- $HOME/.cache/pip
|
||||
after_success: make coveralls
|
||||
notifications:
|
||||
email:
|
||||
|
8
Makefile
8
Makefile
@ -67,14 +67,6 @@ endif
|
||||
$(pip) install coveralls
|
||||
$(pip) install --allow-all-external -e .
|
||||
|
||||
travis: python
|
||||
$(nose) -s --with-coverage --cover-package hy
|
||||
ifeq (PyPy,$(findstring PyPy,$(shell python -V 2>&1 | tail -1)))
|
||||
@echo "skipping flake8 on pypy"
|
||||
else
|
||||
flake8 hy bin tests
|
||||
endif
|
||||
|
||||
coveralls:
|
||||
$(coveralls)
|
||||
|
||||
|
1
setup.py
1
setup.py
@ -89,6 +89,7 @@ setup(
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.3",
|
||||
"Programming Language :: Python :: 3.4",
|
||||
"Programming Language :: Python :: 3.5",
|
||||
"Topic :: Software Development :: Code Generators",
|
||||
"Topic :: Software Development :: Compilers",
|
||||
"Topic :: Software Development :: Libraries",
|
||||
|
Loading…
x
Reference in New Issue
Block a user