mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-05 12:41:49 +02:00
Use tox-travis to simplify the whole thing
This commit is contained in:
parent
b542d35b0b
commit
61f7c6b21f
2 changed files with 13 additions and 12 deletions
18
.travis.yml
18
.travis.yml
|
@ -1,15 +1,9 @@
|
|||
language: python
|
||||
before_script:
|
||||
- pyenv global $TRAVIS_PYTHON_VERSION
|
||||
script: tox
|
||||
before_install:
|
||||
- pyenv global system 3.5
|
||||
- export PATH=$PYENV_ROOT/bin:$PATH
|
||||
install:
|
||||
- pip install tox
|
||||
env:
|
||||
- TOXENV=py27
|
||||
- TOXENV=py34
|
||||
- TOXENV=py35
|
||||
- TOXENV=py36
|
||||
- TOXENV=docs
|
||||
- pip install tox-travis
|
||||
python:
|
||||
- "2.7"
|
||||
- "3.4"
|
||||
- "3.5"
|
||||
- "3.6"
|
||||
|
|
7
tox.ini
7
tox.ini
|
@ -26,3 +26,10 @@ deps =
|
|||
[flake8]
|
||||
exclude = migrations
|
||||
max_line_length = 100
|
||||
|
||||
[travis]
|
||||
python =
|
||||
2.7: py27
|
||||
3.4: py34
|
||||
3.5: py35
|
||||
3.6: py36, docs, lint
|
||||
|
|
Loading…
Reference in a new issue