-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.travis.yml
39 lines (33 loc) · 900 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
language: python
sudo: required
dist: trusty
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "nightly"
install:
- |
if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
# MASTIFF is required for the tests
git clone https://github.com/Rafiot/mastiff.git
pushd mastiff
pip install -U pip setuptools python-magic yapsy simplejson
make install
make test
popd
fi
- pip install coveralls
- pip install codecov
- python setup.py -q install
- pushd test/fraunhoferlibrary
- wget --no-check-certificate http://www.officedissector.com/corpus/fraunhoferlibrary.zip
- unzip -o fraunhoferlibrary.zip
- popd
script:
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then mas.py -h ; fi
- nosetests --with-coverage --cover-package=officedissector -v
after_success:
- coveralls
- codecov