Codeship test fix.
- db settings is taken from sys env variable if exists.