Merge pull request #653 from Rafiot/master

[Travis] Fix DB
pull/658/head
Raphaël Vinot 2015-09-12 22:29:14 +02:00
commit d8530815f5
2 changed files with 8 additions and 1 deletions

View File

@ -10,9 +10,13 @@ sudo: true
cache: pip
env:
- DB=mysql
addons:
hosts:
- misp.local
- localhost
apt:
packages:
- python-dev
@ -26,6 +30,7 @@ addons:
- curl
- python-virtualenv
- python-pip
- php5-mysql
install:
- pip install --user pyzmq
@ -84,3 +89,5 @@ script:
- cat keys.py
- ./test.py
- popd
#- cat app/tmp/logs/error.log
#- cat app/tmp/logs/debug.log

View File

@ -62,7 +62,7 @@ class DATABASE_CONFIG {
public $default = array(
'datasource' => 'Database/Mysql',
'persistent' => false,
'host' => 'localhost',
'host' => '127.0.0.1',
'login' => 'misp',
'port' => 3306,
'password' => 'blah',