forked from scrapinghub/dateparser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (38 loc) · 978 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
40
41
42
43
44
45
46
# Config file for automatic testing at travis-ci.org
language: python
matrix:
include:
- python: 3.8
env: TOXENV=flake8
- python: 3.5
env: TOXENV=py
- python: 3.6
env: TOXENV=py
- python: 3.7
env: TOXENV=py
- python: 3.8
env: TOXENV=py PYPI_RELEASE_JOB=true
- python: 3.8
env: TOXENV=latest
- python: 3.9
env: TOXENV=latest
install: pip install -U wheel tox codecov
cache: pip
# command to run tests, e.g. python setup.py test
script: tox
addons:
apt:
packages:
- language-pack-fr
after_success:
- codecov
deploy:
provider: pypi
distributions: sdist bdist_wheel
user: scrapinghub
password:
secure: "Vs2Z69YTFzQWVkos7IvP4xk0RAQ35dzVXP+EAmzMkqi9qToTa7jdeF8deY18r3l8093jaJ/ct6NzjNiZ6ryWl1yKBwYoW+jaXjKGVXMFSQdqXiDreu516rqrOiRfZVHy+G9TabjhVrIW2npkxuOP7d0HONOZnNtCn6QrxQwEBzw="
on:
tags: true
repo: scrapinghub/dateparser
condition: "$PYPI_RELEASE_JOB == true"