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: on:
branch: "release/**" branch: "release/**"
tags: false tags: false
condition: $TRAVIS_PYTHON_VERSION = "2.7" condition: $TRAVIS_PYTHON_VERSION = "3.5"
# production pypi # production pypi
- provider: pypi - provider: pypi
distributions: sdist distributions: sdist
@ -46,4 +46,4 @@ deploy:
on: on:
branch: master branch: master
tags: true 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. My Tool does one thing, and one thing well.
""" """
from distutils.core import setup from setuptools import setup
import os import os
dependencies = [] dependencies = []
@ -28,9 +28,7 @@ setup(
description='This is a python module provide a wrapper of terraform command line tool', description='This is a python module provide a wrapper of terraform command line tool',
long_description=__doc__, long_description=__doc__,
packages=['python_terraform'], packages=['python_terraform'],
include_package_data=True,
package_data={}, package_data={},
zip_safe=False,
platforms='any', platforms='any',
install_requires=dependencies, install_requires=dependencies,
classifiers=[ classifiers=[
@ -44,7 +42,7 @@ setup(
# 'Development Status :: 7 - Inactive', # 'Development Status :: 7 - Inactive',
'Environment :: Console', 'Environment :: Console',
'Intended Audience :: Developers', 'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License', 'License :: OSI Approved :: MIT License',
'Operating System :: POSIX', 'Operating System :: POSIX',
'Operating System :: MacOS', 'Operating System :: MacOS',
'Operating System :: Unix', 'Operating System :: Unix',