Skip to content

Commit 505d499

Browse files
committed
Fix travis config
The tests fail on travis ci because the libmagic 5.09 is buggy.
1 parent 3069a4a commit 505d499

4 files changed

Lines changed: 19 additions & 3 deletions

File tree

.travis.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
11
language: python
2+
23
python:
34
- "2.6"
45
- "2.7"
56
- "3.2"
67
- "3.3"
8+
- "3.4"
9+
- "3.5"
10+
- "nightly"
11+
12+
install:
13+
- pip install coveralls
14+
- pip install codecov
15+
- python setup.py install
16+
717
script:
8-
- python test.py
18+
- coverage run setup.py test
19+
20+
after_success:
21+
- coveralls
22+
- codecov

setup.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
from setuptools import setup, Extension
2-
#from distutils.core import setup, Extension
1+
#!/usr/bin/env python
2+
# -*- coding: utf-8 -*-
3+
4+
from setuptools import setup
35

46
setup(name='python-magic',
57
description='File type identification using libmagic',

test/__init__.py

Whitespace-only changes.

test/test.py

100644100755
File mode changed.

0 commit comments

Comments
 (0)