2013-06-25 18:00:48 +04:00
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "2.6"
|
|
|
|
- "2.7"
|
|
|
|
env:
|
2013-06-25 21:05:18 +04:00
|
|
|
global:
|
|
|
|
- DB=mysql
|
|
|
|
- TREEHERDER_DATABASE_NAME='test_treeherder'
|
|
|
|
- TREEHERDER_DATABASE_USER='root'
|
|
|
|
- TREEHERDER_DATABASE_PASSWORD=''
|
|
|
|
- TREEHERDER_DATABASE_HOST='localhost'
|
|
|
|
- TREEHERDER_MEMCACHED='127.0.0.1:11211'
|
|
|
|
- TREEHERDER_MEMCACHED_KEY_PREFIX='treeherder'
|
|
|
|
- TREEHERDER_RABBITMQ_USER='guest'
|
|
|
|
- TREEHERDER_RABBITMQ_PASSWORD='guest'
|
|
|
|
- TREEHERDER_RABBITMQ_VHOST='/'
|
|
|
|
- TREEHERDER_RABBITMQ_HOST='127.0.0.1'
|
|
|
|
- TREEHERDER_RABBITMQ_PORT='5672'
|
2013-06-26 03:24:43 +04:00
|
|
|
before_script:
|
|
|
|
- mysql -e 'create database treeherder;'
|
2013-06-25 18:00:48 +04:00
|
|
|
services:
|
|
|
|
- rabbitmq
|
|
|
|
install:
|
|
|
|
- pip install -r requirements/compiled.txt --use-mirrors
|
|
|
|
- pip install -r requirements/dev.txt --use-mirrors
|
|
|
|
- pip install -r requirements/pure.txt --use-mirrors
|
|
|
|
script:
|
|
|
|
- py.test tests/$* --cov-report term-missing --cov treeherder
|