forked from emcconville/wand
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (34 loc) · 875 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
dist: xenial
language: python
sudo: false
git:
depth: 1
python:
- 2.7
- 3.7
- pypy2.7-6.0
- pypy3.5-6.0
env:
- secure: "EhG2uSD2m1eGxuL2HeQewJJx7MVL4WpjrxyfiUBEgsApemD1yKJPjUnLwAyd\nbPi5HJx5ySm1TTRSvj6/yP85YLYTaJHA8OabKk7p0wFW294qcrYIDGovU7NL\n3YOqZmqN+S3XOBGFCOnByxE+pcxxWW/3/I09EgeW7D6tBPh67G0="
install:
- echo $TRAVIS_PYTHON_VERSION
- pip install -U pytest pytest-xdist coveralls
- >
if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then
pip install 'pytest-cov>=1.8.0';
fi
- >
if [[ "$TRAVIS_PYTHON_VERSION" == "3.7" ]]; then
pip install --upgrade setuptools;
fi
- pip install -e .[test] --upgrade
script:
- python -mwand.version --verbose
- >
if [[ $TRAVIS_PYTHON_VERSION == pypy* ]]; then
py.test --skip-pdf --boxed --durations=20;
else
py.test --skip-pdf --cov wand --boxed --durations=20;
fi
after_success:
- coveralls