add travis database config.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
remove rank field.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
ignore testing database config.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
add database migrate before testing.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
import sql file.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>