forked from scrapinghub/python-scrapinghub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (41 loc) · 1.04 KB
/
.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
40
41
language: python
matrix:
include:
- python: 2.7
env: TOXENV=py27-json
- python: 2.7
env: TOXENV=py27-msgpack
- python: pypy
env: TOXENV=pypy-json
- python: pypy
env: TOXENV=pypy-msgpack
- python: 3.4
env: TOXENV=py34-json
- python: 3.4
env: TOXENV=py34-msgpack
- python: 3.5
env: TOXENV=py35-json
- python: 3.5
env: TOXENV=py35-msgpack
- python: 3.6
env: TOXENV=py36-json
- python: 3.6
env: TOXENV=py36-msgpack
install:
- pip install -U tox coverage codecov pytest-xdist
script:
- tox
after_success:
- codecov
cache:
directories:
- $HOME/.cache/pip
deploy:
provider: pypi
distributions: sdist bdist_wheel
on:
tags: true
condition: $TOXENV == py27-msgpack && $TRAVIS_TAG =~ ^[0-9]+[.][0-9]+[.][0-9]+(rc[0-9]+|[.]dev[0-9]+)?$
user: scrapinghub
password:
secure: SMPghJT7GScj6jQBimk8r58vRNfbKQQkXvfh5DJC38d0XeNtpBJQ750LT7Zlw8R+qAadT8sA7M1YYZY8mIQgdakQv48zX7EVxyc/8a2rAOF9p/ikRn0Dc50Qzr9U5Rtbsp7PMYlmUyeo9VjrStPPkHUPW2Q7vprTpdFrlDaf3WA=