1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-22 00:13:08 +00:00
scrapy/.travis.yml

66 lines
1.7 KiB
YAML
Raw Normal View History

2012-05-16 16:54:12 -03:00
language: python
dist: xenial
branches:
only:
- master
- /^\d\.\d+$/
- /^\d\.\d+\.\d+(rc\d+|\.dev\d+)?$/
2017-01-06 16:10:14 +01:00
matrix:
include:
2019-11-14 12:10:25 +01:00
- env: TOXENV=security
python: 3.8
2019-11-07 14:05:01 +01:00
- env: TOXENV=flake8
python: 3.8
- env: TOXENV=pypy3
- env: TOXENV=py35
python: 3.5
- env: TOXENV=pinned
python: 3.5
- env: TOXENV=py35-asyncio
python: 3.5.2
- env: TOXENV=py36
python: 3.6
- env: TOXENV=py37
python: 3.7
- env: TOXENV=py38
python: 3.8
- env: TOXENV=extra-deps
python: 3.8
2019-12-04 22:06:35 +05:00
- env: TOXENV=py38-asyncio
2019-08-22 21:24:30 +05:00
python: 3.8
- env: TOXENV=docs
python: 3.7 # Keep in sync with .readthedocs.yml
2012-05-16 16:54:12 -03:00
install:
2016-09-01 15:25:38 +02:00
- |
2017-12-25 13:46:22 +03:00
if [ "$TOXENV" = "pypy3" ]; then
export PYPY_VERSION="pypy3.5-5.9-beta-linux_x86_64-portable"
wget "https://bitbucket.org/squeaky/portable-pypy/downloads/${PYPY_VERSION}.tar.bz2"
tar -jxf ${PYPY_VERSION}.tar.bz2
virtualenv --python="$PYPY_VERSION/bin/pypy3" "$HOME/virtualenvs/$PYPY_VERSION"
source "$HOME/virtualenvs/$PYPY_VERSION/bin/activate"
fi
2016-09-01 15:25:38 +02:00
- pip install -U tox twine wheel codecov
2013-11-07 05:01:32 -02:00
script: tox
2015-08-12 16:40:04 -03:00
after_success:
- codecov
notifications:
irc:
use_notice: true
skip_join: true
channels:
- irc.freenode.org#scrapy
2015-07-31 16:39:12 -03:00
cache:
directories:
- $HOME/.cache/pip
deploy:
provider: pypi
distributions: "sdist bdist_wheel"
user: scrapy
password:
secure: JaAKcy1AXWXDK3LXdjOtKyaVPCSFoCGCnW15g4f65E/8Fsi9ZzDfmBa4Equs3IQb/vs/if2SVrzJSr7arN7r9Z38Iv1mUXHkFAyA3Ym8mThfABBzzcUWEQhIHrCX0Tdlx9wQkkhs+PZhorlmRS4gg5s6DzPaeA2g8SCgmlRmFfA=
on:
tags: true
repo: scrapy/scrapy
2019-10-31 14:46:02 +05:00
condition: "$TOXENV == py37 && $TRAVIS_TAG =~ ^[0-9]+[.][0-9]+[.][0-9]+(rc[0-9]+|[.]dev[0-9]+)?$"