Skip to content

Commit

Permalink
Merge 82f6880 into 11e6fb0
Browse files Browse the repository at this point in the history
  • Loading branch information
AuHau committed Mar 5, 2019
2 parents 11e6fb0 + 82f6880 commit 5142c65
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 28 deletions.
46 changes: 19 additions & 27 deletions .travis.yml
Expand Up @@ -8,16 +8,32 @@ stages:
- name: deploy-release
if: tag IS present

language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8-dev"
- "pypy2.7-7.0"
- "pypy3.5-7.0"
dist: xenial
sudo: true
install:
- pip install -r requirements-dev.txt
- if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then pip install unittest2 mock; fi
- python setup.py install
script:
- make run_integration_tests
- if [[ $TRAVIS_PYTHON_VERSION != 'pypy' ]]; then make run_acceptance_tests; fi

jobs:
include:
- stage: lint
name: "Flakes"
language: python
python:
- "3.7"
dist: xenial
sudo: true
install:
- pip install flake8
script:
Expand All @@ -26,33 +42,12 @@ jobs:
- stage: test
name: "Tests"
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8-dev"
- "pypy"
- "pypy3"
dist: xenial
sudo: true
install:
- pip install -r requirements-dev.txt
- if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then pip install unittest2 mock; fi
- python setup.py install
script:
- make run_integration_tests
- if [[ $TRAVIS_PYTHON_VERSION != 'pypy' ]]; then make run_acceptance_tests; fi
after_success:
- make coveralls

- stage: deploy-pip
name: "Publish to PyPi"
language: python
python: '3.7'
dist: xenial
sudo: true
script:
- pip install -r test-requirements.txt
deploy:
Expand Down Expand Up @@ -83,10 +78,7 @@ jobs:

- stage: deploy-release
name: "Create release"
language: python
python: '3.7'
dist: xenial
sudo: true
script: echo 'Lets do it!'
deploy:
provider: releases
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Expand Up @@ -47,9 +47,10 @@ def run_tests(self):
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
Expand Down

0 comments on commit 5142c65

Please sign in to comment.