djangocms_blog/.travis.yml

99 lines
2.3 KiB
YAML
Raw Normal View History

2015-07-04 08:50:04 +00:00
# Config file for automatic testing at travis-ci.org
2014-01-05 09:34:10 +00:00
2015-07-04 08:50:04 +00:00
language: python
2014-01-05 09:34:10 +00:00
2015-07-04 08:50:04 +00:00
sudo: false
2015-06-28 15:36:02 +00:00
2015-07-04 08:50:04 +00:00
python:
2018-01-14 11:54:44 +00:00
- 3.6
2015-10-17 16:11:57 +00:00
- 3.5
2015-07-04 08:50:04 +00:00
- 3.4
- 2.7
2014-06-10 23:08:27 +00:00
2015-07-04 08:50:04 +00:00
env:
2014-06-10 23:08:27 +00:00
matrix:
2015-07-18 14:55:46 +00:00
- TOXENV='pep8'
- TOXENV='isort'
2016-06-05 22:05:14 +00:00
- TOXENV='docs'
2018-01-14 11:54:44 +00:00
- DJANGO='django110' CMS='cms35'
2016-12-03 22:20:00 +00:00
- DJANGO='django110' CMS='cms34'
2018-01-14 11:54:44 +00:00
- DJANGO='django19' CMS='cms35'
2016-08-23 17:59:22 +00:00
- DJANGO='django19' CMS='cms34'
2016-06-05 20:52:51 +00:00
- DJANGO='django19' CMS='cms33'
2016-02-25 07:37:37 +00:00
- DJANGO='django19' CMS='cms32'
2018-01-14 11:54:44 +00:00
- DJANGO='django18' CMS='cms35'
2016-08-23 17:59:22 +00:00
- DJANGO='django18' CMS='cms34'
2016-06-05 20:52:51 +00:00
- DJANGO='django18' CMS='cms33'
2015-10-17 16:11:57 +00:00
- DJANGO='django18' CMS='cms32'
2015-07-04 08:50:04 +00:00
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then export PYVER=py27; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then export PYVER=py34; fi"
2015-10-17 16:11:57 +00:00
- "if [[ $TRAVIS_PYTHON_VERSION == '3.5' ]]; then export PYVER=py35; fi"
2018-01-14 11:54:44 +00:00
- "if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then export PYVER=py36; fi"
2015-07-18 14:55:46 +00:00
- "if [[ ${DJANGO}z != 'z' ]]; then export TOXENV=$PYVER-$DJANGO-$CMS; fi"
2015-07-04 08:50:04 +00:00
# command to run tests, e.g. python setup.py test
2015-07-18 14:55:46 +00:00
script: COMMAND='coverage run' tox -e$TOXENV
2015-07-04 08:50:04 +00:00
2015-10-01 21:59:46 +00:00
before_install:
2018-01-24 02:25:38 +00:00
- pip install -U setuptools tox>=1.8 coveralls codecov wheel pip
2015-10-01 21:59:46 +00:00
after_success:
- codecov
- coveralls
2015-07-04 08:50:04 +00:00
matrix:
exclude:
2016-06-05 22:05:14 +00:00
- python: 2.7
env: TOXENV='docs'
2015-08-08 08:18:37 +00:00
- python: 2.7
env: TOXENV='pep8'
- python: 2.7
env: TOXENV='isort'
2016-06-05 22:05:14 +00:00
- python: 3.4
env: TOXENV='docs'
2015-10-17 16:11:57 +00:00
- python: 3.4
env: TOXENV='pep8'
- python: 3.4
env: TOXENV='isort'
2018-01-14 11:54:44 +00:00
- python: 3.5
env: TOXENV='docs'
- python: 3.5
env: TOXENV='pep8'
- python: 3.5
env: TOXENV='isort'
- python: 2.7
env: DJANGO='django19' CMS='cms35'
- python: 2.7
env: DJANGO='django19' CMS='cms34'
- python: 2.7
env: DJANGO='django19' CMS='cms33'
- python: 2.7
env: DJANGO='django19' CMS='cms32'
- python: 3.5
env: DJANGO='django19' CMS='cms35'
- python: 3.5
env: DJANGO='django19' CMS='cms34'
- python: 3.5
env: DJANGO='django19' CMS='cms33'
- python: 3.5
env: DJANGO='django19' CMS='cms32'
- python: 3.4
env: DJANGO='django19' CMS='cms35'
- python: 3.4
env: DJANGO='django19' CMS='cms34'
- python: 3.4
env: DJANGO='django19' CMS='cms33'
- python: 3.4
env: DJANGO='django19' CMS='cms32'
2016-02-27 00:05:35 +00:00
cache:
directories:
2016-02-27 06:42:48 +00:00
- $HOME/.pip-accel
- $HOME/.cache/pip