Skip to content

Commit 7161d40

Browse files
authored
Merge pull request corpetty#29 from AndreMiras/feature/ticket20_integration_testing
Introduces CI with Travis and tox, fixes corpetty#20
2 parents cb91fb3 + 02a1669 commit 7161d40

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
sudo: false
2+
language: python
3+
python:
4+
- "2.7"
5+
- "3.6"
6+
install: pip install tox-travis
7+
script: tox

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# py-etherscan-api module
2+
3+
[![Build Status](https://secure.travis-ci.org/corpetty/py-etherscan-api.png?branch=master)](http://travis-ci.org/corpetty/py-etherscan-api)
4+
25
EtherScan.io API python bindings
36

47
## Description

tox.ini

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[tox]
2+
envlist = py27,py3
3+
4+
[testenv]
5+
deps =
6+
pytest
7+
-r{toxinidir}/pip-requirements.txt
8+
commands =
9+
python -m unittest discover --start-directory=tests/

0 commit comments

Comments
 (0)