Skip to content

Commit

Permalink
Try to fix all the builds
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Dec 11, 2017
1 parent c8307f1 commit 88abc9f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
9 changes: 3 additions & 6 deletions .travis.yml
@@ -1,18 +1,15 @@
language: python
sudo: false
addons:
apt:
packages:
- python-gobject
- python3-gobject
python:
- 2.7
- 3.3
- 3.4
- 3.5
- 3.6
install:
- pip install coverage coveralls -e .[test]
- pip install coverage coveralls
- pip install freezegun mock
- pip install --no-deps -e .
script:
- coverage run -m gtimelog.tests
after_success:
Expand Down
19 changes: 13 additions & 6 deletions tox.ini
Expand Up @@ -5,31 +5,38 @@ envlist =
[testenv]
setenv =
LC_ALL=C
sitepackages = true
deps =
.[test]
freezegun
py27: mock
skip_install = true
commands =
python setup.py -q test
pip install --no-deps -e .
python -m gtimelog.tests

[testenv:coverage]
usedevelop = true
deps =
freezegun
mock
coverage
skip_install = true
commands =
pip install --no-deps -e .
coverage run {posargs} -m gtimelog.tests

[testenv:coverage3]
basepython = python3
usedevelop = true
deps =
freezegun
coverage
skip_install = true
commands =
coverage run {posargs} -m gtimelog.tests
{[testenv:coverage]commands}

[testenv:py]
deps =
freezegun
mock
skip_install = true
commands =
python --version
{[testenv]commands}

0 comments on commit 88abc9f

Please sign in to comment.