Add python 3.5 support for tox; run all tests before a release

This commit is contained in:
Lance Edgar 2018-02-24 17:15:49 -06:00
parent 021848524a
commit 73f73e0236
2 changed files with 9 additions and 7 deletions

View file

@ -1,8 +1,8 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8; -*-
################################################################################ ################################################################################
# #
# Rattail -- Retail Software Framework # Rattail -- Retail Software Framework
# Copyright © 2010-2017 Lance Edgar # Copyright © 2010-2018 Lance Edgar
# #
# This file is part of Rattail. # This file is part of Rattail.
# #
@ -21,19 +21,21 @@
# #
################################################################################ ################################################################################
""" """
Fabric script for Tailbone Tasks for Tailbone
""" """
from __future__ import unicode_literals, absolute_import from __future__ import unicode_literals, absolute_import
import shutil import shutil
from fabric.api import task, local
from invoke import task
@task @task
def release(): def release(ctx):
""" """
Release a new version of 'Tailbone'. Release a new version of 'Tailbone'.
""" """
ctx.run('tox')
shutil.rmtree('Tailbone.egg-info') shutil.rmtree('Tailbone.egg-info')
local('python setup.py sdist --formats=gztar upload') ctx.run('python setup.py sdist --formats=gztar upload')

View file

@ -1,5 +1,5 @@
[tox] [tox]
envlist = py26, py27 envlist = py27, py35
[testenv] [testenv]
deps = deps =