forked from jesparza/peepdf
-
Notifications
You must be signed in to change notification settings - Fork 17
/
.travis.yml
35 lines (30 loc) · 887 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
language: python
matrix:
fast_finish: true
include:
- python: 2.7
- python: 3.5
- python: 3.6
- os: osx
language: generic
before_install:
- |
if [[ $TRAVIS_OS_NAME == "osx" ]]; then
# The following wasn't required in the past and therefore may become
# obsolete once again in the future. Let's wait and see.
wget https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
sudo pip install virtualenv
virtualenv $HOME
source $HOME/bin/activate
fi
- '[[ $TRAVIS_OS_NAME == "linux" ]] && sudo apt-get update -qq || true'
- '[[ $TRAVIS_OS_NAME == "linux" ]] && sudo apt-get install python-dev libffi-dev libxml2-dev libxslt1-dev libjpeg-dev || true'
install:
- pip install -e .
- pip install pytest pytest-cov mock coveralls
script:
- py.test --cov=peepdf
after_success:
- codecov
- coveralls