8000 Basic TravisCI yml file that tests the supported versions, runs PEP8,… · tableau/document-api-python@3c8bad7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3c8bad7

Browse files
committed
Basic TravisCI yml file that tests the supported versions, runs PEP8, and runs the samples.
This doesn't have anything configured around branches or notification settings.
1 parent c58ca4b commit 3c8bad7

File tree

3 files changed

+26
-2
lines changed

3 files changed

+26
-2
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,6 @@ target/
6060

6161
#Ipython Notebook
6262
.ipynb_checkpoints
63+
64+
#Other things
65+
.DS_Store

.travis.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
language: python
2+
python:
3+
- "2.7"
4+
- "3.3"
5+
- "3.4"
6+
- "3.5"
7+
- "pypy"
8+
# command to install dependencies
9+
install:
10+
- "pip install -e ."
11+
- "pip install pep8"
12+
# command to run tests
13+
script:
14+
# Tests
15+
- python test.py
16+
# pep8
17+
- pep8 --ignore=E501 .
18+
# Examples
19+
- (cd "Examples/Replicate Workbook" && python replicateWorkbook.py)
20+
- (cd "Examples/List TDS Info" && python listTDSInfo.py)
21+

tableaudocumentapi/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
__version__ = '0.0.1'
2-
__VERSION__ = __version__
31
from .connection import Connection
42
from .datasource import Datasource, ConnectionParser
53
from .workbook import Workbook
4+
__version__ = '0.0.1'
5+
__VERSION__ = __version__

0 commit comments

Comments
 (0)
0