FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

CI updates · python-webuntis/python-webuntis@bd4feaf · GitHub

Repository navigation

Commit bd4feaf

Browse files
committed
CI updates
1 parent a50acf9 commit bd4feaf

4 files changed

Lines changed: 16 additions & 34 deletions

File tree

‎.travis.yml‎

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
language: python
22
python:
3-
- "2.6"
43
- "2.7"
5-
- "pypy"
6-
- "3.3"
4+
env:
5+
- TOX_ENV=py27
6+
- TOX_ENV=pypy
7+
- TOX_ENV=py33
8+
- TOX_ENV=py34
79

810
install:
9-
- "pip install --use-mirrors ."
10-
- "pip install --use-mirrors -r dev_requirements.txt"
11+
- pip install --use-mirrors tox coveralls
1112

12-
script: py.test
13+
script:
14+
- tox -e $TOX_ENV
15+
16+
after_success:
17+
- coveralls

‎README.rst‎

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -34,25 +34,3 @@ Latest version (this is the normal way)
3434
::
3535

3636
pip install webuntis
37-
38-
39-
Development
40-
===========
41-
42-
Installing Development Dependencies
43-
+++++++++++++++++++++++++++++++++++
44-
45-
A `virtualenv <http://www.virtualenv.org/>`_ is recommended::
46-
47-
$ pip install -r dev_requirements.txt
48-
49-
50-
Unittests
51-
+++++++++
52-
53-
::
54-
55-
$ py.test
56-
57-
For the single testsuites and their descriptions, look at the docstrings of the
58-
modules in ``webuntis.tests``.

‎dev_requirements.txt‎

Lines changed: 0 additions & 2 deletions
This file was deleted.

‎tox.ini‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[tox]
22
envlist=
3-
py26,py27,py33,pypy
3+
py26,py27,py33,py34,pypy
44
[testenv]
5-
commands=
6-
pip install -r dev_requirements.txt
7-
py.test []
5+
deps = pytest
6+
coverage
7+
commands = coverage run --source=webuntis/,tests/ --module pytest
8+
coverage report --show-missing

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL