Skip to content

Commit

Permalink
new travis files
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Sep 25, 2018
1 parent 20e47a1 commit 733b9c5
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .travis.yml
Expand Up @@ -2,10 +2,7 @@ sudo: false
dist: trusty
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
Expand All @@ -14,19 +11,15 @@ 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"
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:
- pip install "pkginfo<1.3"
- pip install -r requirements.txt
- pip install "pycparser<2.19" coveralls
script: if [[ $TRAVIS_PYTHON_VERSION != "3.2" ]]; then coverage run --source=rancher setup.py test; else python setup.py test; fi
after_success: if [[ $TRAVIS_PYTHON_VERSION != "3.2" ]]; then coveralls; fi
- pip install coveralls
script: coverage run --source=rancher setup.py test
after_success: coveralls
deploy:
provider: pypi
user: joamag
Expand Down

0 comments on commit 733b9c5

Please sign in to comment.