Until now the database was reseeded every time a testsuite was run. First of all this is slow but it also overwrites any data in the tables. Another problem was that travis-ci build would fail because the database was not set up.
This PR fixes all of the above problems by using a in-memory sqlite database for phpunit.
Also .travis.yml has been changed to let travis-ci download packages from source directly.
Until now the database was reseeded every time a testsuite was run. First of all this is slow but it also overwrites any data in the tables. Another problem was that travis-ci build would fail because the database was not set up. This PR fixes all of the above problems by using a in-memory sqlite database for phpunit. Also .travis.yml has been changed to let travis-ci download packages from source directly.