debian-python-raven/.travis.yml

58 lines
1.9 KiB
YAML
Raw Normal View History

2012-02-28 00:32:59 +01:00
language: python
python:
- "2.6"
- "2.7"
2013-04-04 08:27:13 +02:00
- "3.2"
- "3.3"
2014-05-18 02:24:42 +02:00
- "3.4"
- "pypy"
2012-02-28 04:33:20 +01:00
env:
2013-12-10 08:49:09 +01:00
matrix:
- DJANGO=Django==1.4.10
- DJANGO=Django==1.5.5
- DJANGO=Django==1.6
2014-03-23 12:26:28 +01:00
- DJANGO="https://www.djangoproject.com/download/1.7b1/tarball/"
2013-12-11 10:46:57 +01:00
- 'DJANGO="-e git+git://github.com/django/django.git#egg=Django"'
2013-12-10 08:49:09 +01:00
global:
2013-12-11 10:46:57 +01:00
- 'PIP_DOWNLOAD_CACHE=".pip_download_cache"'
- 'WAD_FILES="package.json,Makefile,setup.py"'
- 'WAD_INSTALL_COMMAND=ci/setup'
2013-02-08 09:44:19 +01:00
2013-12-10 08:49:09 +01:00
# This should be specified with:
# travis encrypt S3_BUCKET_NAME=secretvalue S3_CREDENTIALS=accesskey:secretkey
# - S3_BUCKET_NAME=
# - S3_CREDENTIALS=
2013-12-11 10:57:28 +01:00
- secure: "QEFKt0HhaMlCW0FCLTz3NDY/P4UuVl1Pw8kSUVKKjbaKn2jZdaLKS68yl3Vyrd9AqrBfRNNLBAnvpZjYL6EwqqnZzpRH3KnAf0WRxE6d5ytrUkwZtOnQaN0Tumuqc3xnoXXalPXvs+abhXZpjfOzx0oPBa2WbtMF/RJZ/bwsTKE="
2013-12-10 08:49:09 +01:00
before_install:
# Use closer nameservers
- printf "nameserver 199.91.168.70\nnameserver 199.91.168.71\n" | sudo tee /etc/resolv.conf
# These need to be here and not in the env hash because they need to be
# evaluated after the virtualenv has been setup
- mkdir -p $PIP_DOWNLOAD_CACHE
2013-12-11 10:46:57 +01:00
- 'export WAD_ENVIRONMENT_VARIABLES="TRAVIS_PYTHON_VERSION,TRAVIS_NODE_VERSION,WAD_CACHE_PATH"'
- 'export WAD_CACHE_PATH="node_modules,$PIP_DOWNLOAD_CACHE,$VIRTUAL_ENV"'
2012-02-28 04:33:20 +01:00
install:
2013-12-10 08:49:09 +01:00
- time ci/wad
2012-03-04 09:21:25 +01:00
script:
- "if [[ ${TRAVIS_PYTHON_VERSION} != 'pypy' ]]; then make lint; fi"
2013-05-15 02:43:49 +02:00
- py.test tests/ --cov raven --cov-report term-missing
2012-03-04 09:21:25 +01:00
notifications:
irc:
channels: "irc.freenode.org#sentry"
on_success: change
on_failure: change
matrix:
exclude:
- python: "3.2"
2013-11-08 20:00:51 +01:00
env: DJANGO=Django==1.4.10
- python: "3.3"
2013-11-08 20:00:51 +01:00
env: DJANGO=Django==1.4.10
2014-05-18 02:24:42 +02:00
- python: "3.4"
env: DJANGO=Django==1.4.10
2013-07-03 14:08:31 +02:00
- python: "2.6"
2013-07-03 14:56:05 +02:00
env: DJANGO="-e git+git://github.com/django/django.git#egg=Django"
2014-01-30 07:57:05 +01:00
- python: "2.6"
2014-03-23 12:26:28 +01:00
env: DJANGO="https://www.djangoproject.com/download/1.7b1/tarball/"
2014-01-30 07:57:05 +01:00