-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
33 lines (33 loc) · 1.3 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
language: python
branches:
only:
- master
- /^\d\.\d+$/
- /^v\d\.\d+\.\d+(rc\d+|dev\d+)?$/
matrix:
include:
- python: 2.7
env: TOXENV=py27
- python: 3.5
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36
- python: 3.7
env: TOXENV=py37
install:
- pip install -U tox twine wheel codecov
script: tox
after_success:
- codecov
cache:
directories:
- $HOME/.cache/pip
deploy:
provider: pypi
distributions: sdist bdist_wheel
user: scrapyplugins
on:
tags: true
condition: "$TOXENV == py27 && $TRAVIS_TAG =~ ^v[0-9]+[.][0-9]+[.][0-9]+(rc[0-9]+|dev[0-9]+)?$"
password:
secure: spW448Oc+56tdfjDUQB9CZU0Zf+Aq+RL0AUjLn11dYQSXVmED/wek6wYWWki9nGGozrucWM1VMK9n1mvZdBk4NKTSWkWcCdAlhcaycFnqJU5LMXeqv8wQZPk9vHPB+/pI0siUPCvBbIdUetX9jQsyzvG5yxj00R5c28ZqtE4QjzsUfa5pOqaqlHF65VKoJrIQWNxWUFodbgu8bbWhiZzcRMQwjC5G5HRNVAhPC7LORndXPrUqczl3RwlPfuq0OoHORaiWdevo/we8qQvBlYXi4Gb5Vqqhrg83a5mef8OajF8vfxLPXLwbHnyxWvzaCTP2Lnc7HFCUD5XVbG6OLGZJnFat0vBQmU+PJ5Ovpu0iEieMlW2qxkV/6Jk6VPzxgZDK3L6vaN7yLnGPWPnG7mG9Yka8TNCoCRzzvLVp7wCBWXVNRlNe+OAd4wHvacuAna+ki1mmJQu0pu4kKu12t1dZwS8AmqY/auIGUM09HeAr9U5noTQdwCIASTjsafs8wnlSLLfNrUYrb6Fd8fmjIcA7cfGXq73mtwuokNVJS4NK+iWYV+p19L1Zmi8km08PRqKo3anWCBkEQGwzvrWD7WRIrHsAXB4w+qv2zNFaCo3Xm3puJvO8yvWTn944K8D5ZS6qooQEDKrWNb5QCPTa1Z2w0uAR+0rgTJk6WwCE7sIhCg=