Skip to content

Commit

Permalink
Refs. #12. Configure databases.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkiro committed Jun 24, 2014
1 parent 216a3ca commit ea5bf0b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
language: python
python:
- "2.7"
services:
- redis-server
script: ./scripts/run_tests
1 change: 1 addition & 0 deletions scripts/run_tests
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ else
sudo apt-get install -y build-essential python-dev libmysqlclient-dev
pip install -r requirements.txt
python setup.py install
mysql -e 'create database pyzor_test'
fi

python setup.py test
Expand Down
6 changes: 6 additions & 0 deletions test.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[test]
host=localhost
user=root
passwd=
db=pyzor_test
table=pyzor_test

0 comments on commit ea5bf0b

Please sign in to comment.