Skip to content

Commit

Permalink
Issue #10: Add Python 3.7 and python 3.8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Nekmo committed May 1, 2020
1 parent 322cf3e commit 421938d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 6 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
language: python
python:
- 3.8
- 3.7
- 3.6
- 3.5
- 3.4
- 3.3
- 3.2
- 2.7
- 2.6
env:
global:
secure: tYIjIDHWr6RvZcXG09Liehl4dZERDpJ0U08/9G3pij4suqXycD5ECr6xa4kuRkh14oOIj559ajrHIsJJp2d2/du8rIr7trnHMsxGDwgXR2kjT910LPnQYL5BtAM/IkAQTkCppXO1QhB+Q36tpX/FXYg9drW5OZoiO9+YG0BDZwjdyx/zfPnwoYP2zuKk9MY1+c9SPuczwUKsqFIwx437cDy4mZhN/RTFYleZCUI2PwFnSz/MAUQRtBxecI0CYSKjTGQ22ACXQQDZEeJ/etyEO7kSr8GzFgLaEzjti3fc1cLQg/95I0/6JpQ/yzV7PHp9f8GS2kG1VtjEiPKqCJnRML1d4G+YKvc3KTA6SnIbIn7YeDinmytZ7qGuykCfEZfVlSXthsbPdXZHNUejDo+eim0wQdq2Bd5DIG3sbqfOAqIOwyU5tr/IsGKvc5TLzzzmYmlrI9M+2y8tc9MiqbR//zxlCICVG6Xr+meqb2zV7HR4TfEGETEUSCMPzkT1oU4QGWyA2bTIEXpM9ZDi1pVVpFOWHTK7PinY0w8oOP08h9+SVXlN4rNmmb2YmiW/evrXUF4nx6MvnWwfDRemJKBcTZbamGLmpcQqHg8tHbnIFcuCKPgIrm55BqvsY6Oe7SA2Sl9k4oQVvh8+cDKB/piIaDrwpVL95r+xSioxVHfywPY=

before_install:
- pip install codecov tox>=1.8 virtualenv==13.1.2
install:
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then export PYVER=py26; fi
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then export PYVER=py27; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then export PYVER=py33; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then export PYVER=py32; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then export PYVER=py34; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.5' ]]; then export PYVER=py35; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then export PYVER=py36; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.7' ]]; then export PYVER=py37; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.8' ]]; then export PYVER=py38; fi
- if [[ $TRAVIS_PYTHON_VERSION != '3.2' ]]; then export COMMAND='coverage run'; fi
script: COMMAND="${COMMAND:-python}" tox -e$PYVER
after_success:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
# 'android'
]
ROOT_INCLUDE = ['requirements.txt', 'VERSION', 'LICENSE.txt']
PYTHON_VERSIONS = ['2.6-3.5'] # or ranges: 3.1-3.5, 2.6-3.4...
PYTHON_VERSIONS = ['2.7-3.8'] # or ranges: 3.1-3.5, 2.6-3.4...
INSTALL_REQUIRES = [] # Necesario si no hay un requirements.txt

######## FIN DE LA CONFIGURACIÓN DEL PAQUTE ########
Expand Down

0 comments on commit 421938d

Please sign in to comment.