Skip to content

Commit

Permalink
Prepare for CI setup
Browse files Browse the repository at this point in the history
  • Loading branch information
timburke committed Feb 5, 2017
1 parent 0af6b4a commit bfe5378
Show file tree
Hide file tree
Showing 9 changed files with 76 additions and 19 deletions.
22 changes: 22 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
language: python
sudo: false
python:
- '2.7'
- '3.4'
install:
- pip install --upgrade -r build_requirements.txt
script:
- tox
deploy:
skip_cleanup: true
provider: script
script: python scripts/release.py $TRAVIS_TAG
on:
branch: master
tags: true
notifications:
on_success: always
on_failure: always
email: false
slack:
secure: qhlI6ILuy40WHTkLoNipyfk9wyDUFUh4u1RiMuVUQi4K+kfU0U5xG08f0N2nSzbkevGMGRtBMRLnQaqqcIhR+xc0uH+1rlV8fXN/6RXKDWyhaBhNCvhqxRIzvI1E983NfW2YBIIOwQnRT2YFHE26og+9mp5OBhlY8E88c4rdfwR7hUHByLKC5213Zw8dZhdg1KfIWZ0P/7HVPeEXwuLCLmyr1sR2TVyM0MoIhvqLFPbDkbFqbWTfZWCkoUYvmxDEGgVb8yPdWSnaxBKgWshR3CAw9W1+YLL57qBL5jHO6DSeT1PxEpJasLhFtO3PoGRpZstFKffUyjGIO/650DlKQfv+sfmt6LARK3gbcK1dVFhJAM7vIDHEHSSEin6QtHsrNsWKmYslHwJReNy5x7hci8347Nvs7ap3hZyiwqPPT0vYKyKNAOC5Scd+7wVai06iE7NiM47LMXVQNcLSLTFCwF+BDda2fdsBHKOy3syKjSHnMrlywg1B9KVSldUa/cWmygFW/Dz2lrYv9PmgApdR26dEHuloEuZ2xID33xKIT5O5f2Cpbc3uF8YYJcCuhccCLX+3cfLlTjdcyy9Hp1cNEG3gpA0S/Nr1HElEDH/b4B7uESJJsC+cZE1qqtXBZNZMNsU5EKXc60aBn7ZgTQVbWu0YwOrZD5VBLKh80X4MhoQ=
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include LICENSE
include CHANGELOG.md
include README.md
include README.md
include version.py
25 changes: 25 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
environment:

matrix:

# For Python versions available on Appveyor, see
# http://www.appveyor.com/docs/installed-software#python
# The list here is complete (excluding Python 2.6, which
# isn't covered by this document) at the time of writing.

- PYTHON: "C:\\Python27"
- PYTHON: "C:\\Python27-x64"
- PYTHON: "C:\\Python34"
- PYTHON: "C:\\Python34-x64"

install:
# We need wheel installed to build wheels
- "%PYTHON%\\python.exe -m pip install --upgrade -r build_requirements.txt"
- set PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%
-
build: off

test_script:
- "pwd"
- "ls"
- ps: tox -r
1 change: 0 additions & 1 deletion requests.txt

This file was deleted.

2 changes: 2 additions & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
coverage==3.7.1
coveralls
Empty file added requirements.txt
Empty file.
39 changes: 24 additions & 15 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,27 @@
from setuptools import setup
import version

setup(name='iotile_cloud',
version='0.4.0',
description='Python client for https://iotile.cloud',
url='https://github.com/iotile/python_iotile_cloud',
author='David Karchmer',
author_email='[email protected]',
license='MIT',
packages=[
'iotile_cloud',
'iotile_cloud.api',
'iotile_cloud.stream'
],
install_requires=[
'requests',
],
zip_safe=False)
version=version.version,
description='Python client for https://iotile.cloud',
url='https://github.com/iotile/python_iotile_cloud',
author='David Karchmer',
author_email='[email protected]',
license='MIT',
packages=[
'iotile_cloud',
'iotile_cloud.api',
'iotile_cloud.stream'
],
install_requires=[
'requests'
],
keywords=["iotile", "arch", "embedded", "hardware"],
classifiers=[
"Programming Language :: Python",
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules"
],
zip_safe=False)
2 changes: 0 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ envlist = py27, py34, pypy, report
deps =
-r./requirements.txt
-r./requirements-test.txt
coverage==3.7.1
coveralls
commands =
coverage run --source=iotile_cloud setup.py test

Expand Down
1 change: 1 addition & 0 deletions version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
version = '0.4.1'

0 comments on commit bfe5378

Please sign in to comment.