Skip to content

Commit 53d98fc

Browse files
committed
Adding coveralls configs and removing deploy config
- Deployments will be done manually to PyPI so they can be built and checked on more trusted hardware - Removing coverage run for just python 3.5 - Moving lint run to python 3.7 from python 3.5
1 parent a5058f6 commit 53d98fc

File tree

3 files changed

+23
-20
lines changed

3 files changed

+23
-20
lines changed

.travis.yml

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
language: python
22

33
env:
4-
- DB=pgsql
5-
- DB=mysql
6-
- DB=sqlite
4+
global:
5+
- COVERALLS_PARALLEL=true
6+
matrix:
7+
- DB=pgsql
8+
- DB=mysql
9+
- DB=sqlite
710

811
services:
912
- postgresql
@@ -17,21 +20,16 @@ python:
1720
- 3.7
1821

1922
install:
20-
- pip install -U setuptools tox tox-travis
23+
- pip install -U setuptools tox tox-travis coveralls
2124

2225
before_script:
2326
- ./travis-ci.sh
2427

2528
script: tox
2629

27-
deploy:
28-
distributions: sdist bdist_wheel
29-
provider: pypi
30-
user: adamhadani
31-
password:
32-
secure: jSAo1pMtzpNSBJHOtn15WiT2XBL6JBTB/1u22CeRhW6tmRh4ngaK1+WAfuoRpgP5seTBnb1DIxiNzvCL5sRjq9ckbHgc7pW9EcpKCeDFjU1MQPH2GqQ37jicc4NY4TXu9pAUIbxIVwGxHWNCY0QPxIgCSVvTTKoiZn3QddL8hzg=
33-
on:
34-
tags: true
35-
repo: RDFLib/rdflib-sqlalchemy
36-
branch: develop
37-
condition: $TRAVIS_PYTHON_VERSION = "3.5"
30+
notifications:
31+
webhooks: https://coveralls.io/webhook
32+
33+
after_script:
34+
- coveralls
35+

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@
4242
"Programming Language :: Python :: 3.3",
4343
"Programming Language :: Python :: 3.4",
4444
"Programming Language :: Python :: 3.5",
45+
"Programming Language :: Python :: 3.6",
46+
"Programming Language :: Python :: 3.7",
4547
"License :: OSI Approved :: BSD License",
4648
"Topic :: Software Development :: Libraries :: Python Modules",
4749
"Operating System :: OS Independent",

tox.ini

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
[tox]
22
envlist =
3-
py27,py34,py35,cover,lint
3+
py27,py34,py35,py36,py37,lint
44

55
[testenv]
66
passenv = DB DBURI
77
commands =
88
{envpython} setup.py clean --all
9-
{envpython} setup.py nosetests
9+
{envpython} setup.py nosetests \
10+
--with-coverage --cover-package=rdflib_sqlalchemy \
11+
--cover-inclusive --cover-branches
12+
1013
deps =
1114
psycopg2
1215
mysqlclient
@@ -19,7 +22,7 @@ deps =
1922
flake8-print
2023

2124
[testenv:cover]
22-
basepython = python2.7
25+
basepython = python3.7
2326
commands =
2427
{envpython} setup.py nosetests \
2528
--with-coverage --cover-html --cover-html-dir=./coverage \
@@ -30,8 +33,8 @@ deps =
3033

3134
[travis]
3235
python =
33-
2.7: py27, cover, lint
34-
3.5: py35, lint
36+
2.7: py27, lint
37+
3.7: py37, lint
3538

3639
[flake8]
3740
max-line-length = 120

0 commit comments

Comments
 (0)