Skip to content

Commit adf8ba8

Browse files
committed
Include coverage with Coveralls in .travis.yml
1 parent 16cb7c7 commit adf8ba8

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

.travis.yml

+12-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
language: python
22
sudo: false
33
python:
4-
- "2.7"
5-
- "3.4"
6-
- "3.5"
4+
- 2.7
5+
- 3.4
6+
- 3.5
77
before_install:
8-
- "sh scripts/setup_arangodb.sh"
8+
- sh scripts/setup_arangodb.sh
99
install:
10-
- "pip install ."
10+
- pip install coverage
11+
- pip install pytest
12+
- pip install pytest-cov
13+
- pip install python-coveralls
14+
- python setup.py install
1115
script:
12-
- "py.test -v"
16+
- py.test --cov-report= --cov=arango tests/
17+
after_success:
18+
- coveralls

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
url='https://github.com/joowani/python-arango',
1414
packages=find_packages(),
1515
include_package_data=True,
16-
install_requires=['requests', 'pytest', 'six']
16+
install_requires=['requests', 'six']
1717
)

0 commit comments

Comments
 (0)