diff options
| author | Claudiu Popa <pcmanticore@gmail.com> | 2016-11-21 11:13:08 +0200 |
|---|---|---|
| committer | Claudiu Popa <pcmanticore@gmail.com> | 2016-12-30 12:59:37 +0200 |
| commit | 9b75d6fb5255abe49305a62b346fb11ebfcbf956 (patch) | |
| tree | edcf4b32d3981af8e04177dca409d9186bd2e136 | |
| parent | 8aa364e8a672bf596f0b3bb62a6b72c72e188dbc (diff) | |
| download | astroid-git-9b75d6fb5255abe49305a62b346fb11ebfcbf956.tar.gz | |
Drop support for Jython in the CI
| -rw-r--r-- | .travis.yml | 26 | ||||
| -rw-r--r-- | tox.ini | 6 |
2 files changed, 15 insertions, 17 deletions
diff --git a/.travis.yml b/.travis.yml index 5d6c717d..b9ca4bf7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,28 +14,27 @@ matrix: env: TOXENV=pypy - python: 3.5 env: TOXENV=pylint - - python: 2.7 - env: JYTHON=true; TOXENV=jython + - python: 3.6-dev + env: TOXENV=py36 before_install: - - if [ "$JYTHON" == "true" ]; then hg clone http://hg.python.org/jython; cd jython; ant; cd ..; chmod +x "$(pwd)/jython/dist/bin/jython"; fi - - if [ "$JYTHON" == "true" ]; then export PYTHON_EXE="$(pwd)/jython/dist/bin/jython"; else export PYTHON_EXE=python; fi - - if [ "$JYTHON" == "true" ]; then alias jython="$(pwd)/jython/dist/bin/jython"; export PATH="$(pwd)/jython/dist/bin:$PATH"; fi - - if [ "$JYTHON" == "true" ]; then wget https://bootstrap.pypa.io/get-pip.py; $PYTHON_EXE get-pip.py; fi - python --version - uname -a - lsb_release -a install: - - $PYTHON_EXE -m pip install pip -U + - python -m pip install pip -U - python -m pip install tox - python -m pip install pip -U - - $PYTHON_EXE -m pip install tox coverage coveralls - - $PYTHON_EXE -m virtualenv --version - - $PYTHON_EXE -m easy_install --version - - $PYTHON_EXE -m pip --version - - $PYTHON_EXE -m tox --version - - $PYTHON_EXE -m pip install -U setuptools + - python -m pip install tox coverage coveralls + - python -m virtualenv --version + - python -m easy_install --version + - python -m pip --version + - python -m tox --version script: + # Test install with current version of setuptools + - python -m pip install . + # Run the tests with newest version of setuptools + - python -m pip install -U setuptools - python -m tox -e coverage-erase,$TOXENV after_success: - tox -e coveralls @@ -46,4 +45,3 @@ notifications: email: on_success: always on_failure: always - @@ -1,5 +1,5 @@ [tox] -envlist = coverage-clean, py27, py33, py34, py35, pypy, jython, pylint +envlist = py27, py33, py34, py35, py36, pypy, pylint skip_missing_interpreters = true [testenv:pylint] @@ -9,13 +9,13 @@ commands = pylint -rn --rcfile={toxinidir}/pylintrc {envsitepackagesdir}/astroid deps = # Temporary hack, ignore this. dictproxyhack - py27,py33,pypy,jython: enum34 + py27,py33,pypy: enum34 lazy-object-proxy nose #py27,py33,py34,py35: numpy pytest python-dateutil - py27,py33,pypy,jython: singledispatch + py27,py33,pypy: singledispatch six wrapt pylint: git+https://github.com/pycqa/pylint@master |
