From 3b75afe4499be3086b19e5b6027afada52938fac Mon Sep 17 00:00:00 2001 From: mdoglio Date: Tue, 25 Jun 2013 18:05:18 +0100 Subject: [PATCH] set travis env variables as global --- .travis.yml | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1e74d356f..52fc5d75c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,18 +3,19 @@ python: - "2.6" - "2.7" env: - - 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' + 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' before_script: - mysql -e 'create database test_treeherder;' services: @@ -25,8 +26,3 @@ install: - pip install -r requirements/pure.txt --use-mirrors script: - py.test tests/$* --cov-report term-missing --cov treeherder -notifications: - irc: - channels: "irc.mozilla.org:6667#treeherder" - on_success: change - on_failure: change \ No newline at end of file