Skip to content
This repository has been archived by the owner on Jun 7, 2021. It is now read-only.

Commit

Permalink
Travis and README
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Young committed Aug 9, 2017
1 parent b2d018f commit 8794a19
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
language: python
dist: trusty
python: "3.6"
install: "pip install ."
script: "pytest wemo/__init__.py"
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# wemo
A Python API for Wemo switches
# Wemo

[![Build Status](https://travis-ci.org/DocCodes/wemo.svg?branch=master)](https://travis-ci.org/DocCodes/wemo)
[![Documentation Status](http://img.shields.io/badge/docs-1.0.2-orange.svg?style=flat)](https://github.com/DocCodes/steam/wiki)
[![Release](https://img.shields.io/badge/release-1.0.2-brightgreen.svg)](https://github.com/DocCodes/steam/releases/latest)
[![Beta](https://img.shields.io/badge/beta-none-blue.svg)](https://github.com/DocCodes/wemo)

## Installation
1. First download this git
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
setup(
name = 'wemo',
packages = ['wemo'],
version = '1.0.1',
version = '1.0.2',
description = 'A Wemo API',
author = 'Evan Young',
url = 'https://github.com/DocCodes/wemo',
Expand All @@ -17,7 +17,8 @@
'Programming Language :: Python :: 3.6'
],
install_requires = [
'requests'
'requests',
'pytest'
],
python_requires = '~=3.6'
)
5 changes: 4 additions & 1 deletion wemo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
__credits__ = "Evan Young"

__license__ = "GNU GLPv3"
__version__ = "1.0.1"
__version__ = "1.0.2"
__maintainer__ = "Evan Young"
__status__ = "Development"

Expand Down Expand Up @@ -65,3 +65,6 @@ def check(self, ip):
if __name__ == '__main__':
print("Hello Console!")
bd = switch('192.168.1.72')

def test_main():
assert True

0 comments on commit 8794a19

Please sign in to comment.