Skip to content

Commit e952e06

Browse files
ricardogsilvatomkralidis
authored andcommitted
added support for pytest and tox (#495)
This commit is the result of cleaning git for RFC8.
1 parent c1964dc commit e952e06

File tree

619 files changed

+1537
-1033
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

619 files changed

+1537
-1033
lines changed

.coveragerc

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[run]
2+
branch = True
3+
source = pycsw
4+
5+
[paths]
6+
source =
7+
pycsw
8+
.tox/*/lib/python*/site-packages/pycsw
9+
/usr/local/lib/python*/dist-packages/pycsw
10+
11+
[report]
12+
show_missing = True

.gitignore

+5-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@ MANIFEST
99
# testing artifacts
1010
tests/index.html
1111
tests/results
12+
**.cache
13+
.coverage
14+
.tox
1215

1316
# test configurations
1417
/default.cfg
1518

16-
# test repositories
17-
data
19+
# pycharm ide
20+
.idea

.travis.yml

+18-22
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,34 @@
11
language: python
22

3-
sudo: required
4-
dist: trusty
3+
cache: pip
54

6-
python:
7-
- "2.6"
8-
- "2.7"
9-
- "3.4"
10-
- "3.5"
5+
dist: trusty
116

12-
#matrix:
13-
# allow_failures:
14-
# - python: "3.4"
7+
matrix:
8+
include:
9+
- python: "2.6"
10+
env: TOXENV=py26-sqlite
11+
- python: "2.7"
12+
env: TOXENV=py27-sqlite
13+
- python: "3.4"
14+
env: TOXENV=py34-sqlite
15+
- python: "3.5"
16+
env: TOXENV=py35-sqlite
1517

1618
addons:
1719
apt:
1820
packages:
19-
- libgeos-c1
21+
- libgeos-dev
22+
- libpq-dev
2023
- libxml2-dev
21-
22-
before_script:
23-
- pycsw-admin.py -c get_sysprof
24+
- libxslt1-dev
25+
- libz-dev
2426

2527
install:
26-
- pip install -r requirements.txt
27-
- pip install -r requirements-dev.txt
28-
- pip install -r requirements-standalone.txt
29-
- python setup.py -q install
28+
- pip install tox
3029

3130
script:
32-
- paver test
33-
34-
after_script:
35-
- paver stop
31+
- tox -- --exitfirst -k 'not harvesting'
3632

3733
notifications:
3834
irc:

0 commit comments

Comments
 (0)