try to build on travis

This commit is contained in:
Freddy Tan 2016-11-19 23:29:57 +08:00
parent bac4f2270d
commit 9b14fb38ab
2 changed files with 4 additions and 6 deletions

View file

@ -36,7 +36,7 @@ deploy:
on:
branch: "release/**"
tags: false
condition: $TRAVIS_PYTHON_VERSION = "2.7"
condition: $TRAVIS_PYTHON_VERSION = "3.5"
# production pypi
- provider: pypi
distributions: sdist
@ -46,4 +46,4 @@ deploy:
on:
branch: master
tags: true
condition: $TRAVIS_PYTHON_VERSION = "2.7"
condition: $TRAVIS_PYTHON_VERSION = "3.5"

View file

@ -1,7 +1,7 @@
"""
My Tool does one thing, and one thing well.
"""
from distutils.core import setup
from setuptools import setup
import os
dependencies = []
@ -28,9 +28,7 @@ setup(
description='This is a python module provide a wrapper of terraform command line tool',
long_description=__doc__,
packages=['python_terraform'],
include_package_data=True,
package_data={},
zip_safe=False,
platforms='any',
install_requires=dependencies,
classifiers=[
@ -44,7 +42,7 @@ setup(
# 'Development Status :: 7 - Inactive',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Operating System :: MacOS',
'Operating System :: Unix',