Skip to content

Commit

Permalink
simplified travis.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Sep 25, 2018
1 parent 8a10718 commit 3c41c66
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .travis.yml
Expand Up @@ -2,9 +2,7 @@ sudo: false
dist: trusty
language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
Expand All @@ -13,25 +11,20 @@ python:
- "pypy-5.4.1"
- "pypy-5.6.0"
- "pypy-5.7.1"
- "pypy3-2.4.0"
- "pypy2.7-5.8.0"
- "pypy3.5-5.8.0"
services: mongodb
before_install:
- if [[ $TRAVIS_PYTHON_VERSION != "3.2" ]] && [[ $TRAVIS_PYTHON_VERSION != "3.3" ]] && [[ $TRAVIS_PYTHON_VERSION != "pypy3-2.4.0" ]]; then pip install --upgrade pip setuptools; fi
- if [[ $TRAVIS_PYTHON_VERSION == "3.2" ]]; then pip install --upgrade "pip<8.0" "setuptools<20.0"; fi
- if [[ $TRAVIS_PYTHON_VERSION == "3.3" ]] || [[ $TRAVIS_PYTHON_VERSION == "pypy3-2.4.0" ]]; then pip install --upgrade "pip<10.0" "setuptools<24.0"; fi
- pip install --upgrade pip setuptools
install:
- if [[ $TRAVIS_PYTHON_VERSION == "pypy3" ]]; then pip install "flask<0.11"; fi
- pip install "pkginfo<1.3"
- pip install -r requirements.txt
- pip install -r extra.txt
- pip install "pycparser<2.19" coveralls
- pip install coveralls
env:
- ADAPTER=mongo HTTPBIN=httpbin.bemisc.com
- ADAPTER=tiny HTTPBIN=httpbin.bemisc.com
script: if [[ $TRAVIS_PYTHON_VERSION != "3.2" ]]; then coverage run --source=quorum setup.py test; else python setup.py test; fi
after_success: if [[ $TRAVIS_PYTHON_VERSION != "3.2" ]]; then coveralls; fi
script: coverage run --source=quorum setup.py test
after_success: coveralls
deploy:
provider: pypi
user: joamag
Expand Down

0 comments on commit 3c41c66

Please sign in to comment.