Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7161d40

Browse files
Merge pull request #29 from AndreMiras/feature/ticket20_integration_testing
Introduces CI with Travis and tox, fixes #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)

AltStyle によって変換されたページ (->オリジナル) /