Skip to content

Commit

Permalink
add travis integration
Browse files Browse the repository at this point in the history
  • Loading branch information
osallou committed Dec 29, 2017
1 parent 1a5d608 commit 6dac731
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 3 deletions.
25 changes: 25 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
language: python
sudo: false
python:
- '2.7'
- '3.4'
- '3.5'
- '3.6'
branches:
except:
- "/^feature.*$/"
install:
- pip install flake8
- pip install -r requirements.txt
- python setup.py -q install
script:
- nosetests
- flake8 --ignore E501,E123,E128 os_vm_expire
deploy:
provider: pypi
user: osallou
password:
secure: G97XodwxO7BPdKJeL6NkATGxnH7fNzIcek9HsPzCJs94DkATLD8CmI7ZrbqLU+Fp4EVEBm10BkA+SSWn3qo+9qvCy3tcNSmAX4mK0NNmoiZ4AqJjJrL0yf0LuMLCRZppXJBpGCiY48i+0CFLsQzwVl04xcvYAv2YTY9kFa+L2bu8IF53dB2otSJRYSI/k0T8FJCirsnycBh7zxXtClZF5qc3tw+PNGQucKyhoxzZs6O7wGHW/0xVTmSVc/Ds/tDBK9HYCCFBocEM2HdinsjQOnbtWJx+9WO9PiM8iO4T+0YcrDCDoME4n+dqIqcVE0ASHmiEYXLzaj3UDTIs2TROHmKxrYQMVIc/uccAJp2NjbFPxzcnIt28B4X0tdrqRrYD0AN1p3wTgkrisJX4KGH2ioYoIof5WRe+lEHq4S9wkryaqeLVF6HZ/ObuXE2UarGbwf0IQLRTXTd3dCC1GM8OjfdzmuWt/JFCb6PU4zMVjn+IRbi9jIbOrx6ZngzkTaHx+CBbQfn62nzo7Ep20cEj7UywpY5El8PsSc4hJaL+b1ewGRbl0/PI/WlntpjS80pAU4wZ3psXzBn0+rGjxMU2oSrJPQHzqao4mAOx0vU1AoJu56IYWZCm7+zdLpzXqKtuDvjwFK5QKcqTTQuLPKqLcrEOG7VV4qoFJMA7RkKo3Us=
distributions: sdist bdist_wheel
on:
tags: true
1 change: 1 addition & 0 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ six>=1.9.0 # MIT
SQLAlchemy!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8,>=1.0.10 # MIT
alembic>=0.8.10 # MIT
tabulate
requests
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,13 @@
Create Date: 2017-12-27 17:23:22.288802
"""
from alembic import op
import sqlalchemy as sa

# revision identifiers, used by Alembic.
revision = '3cf9516e9a67'
down_revision = 'newton'

from alembic import op
import sqlalchemy as sa


def upgrade():
ctx = op.get_context()
Expand Down

0 comments on commit 6dac731

Please sign in to comment.