metamodel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Du Krøger (JIRA) <>
Subject [jira] [Commented] (METAMODEL-1096) Add some databases to Travis, so integration tests can run
Date Sun, 12 Jun 2016 21:02:21 GMT


Dennis Du Krøger commented on METAMODEL-1096:

In the case of Sakila, it seems so simple that there's not really a reason to remove it unless
the download location isn't stable, something like this should do the trick:
  - curl -O && tar -xzf sakila-db.tar.gz
  - mysql -u root < sakila-db/sakila-schema.sql
  - mysql -u root < sakila-db/sakila-data.sql
(No guarantees for correctness :))

That might of course not be the case for other example databases used.

> Add some databases to Travis, so integration tests can run
> ----------------------------------------------------------
>                 Key: METAMODEL-1096
>                 URL:
>             Project: Apache MetaModel
>          Issue Type: Bug
>            Reporter: Dennis Du Krøger
>            Priority: Minor
> It seems like our integration tests are bitrotting a little, which is not only a problems
in itself, but also proves that they are _never run_, which is pretty bad.
> It would be wonderful if we could get Travis to start at least a few database servers,
so we at least can run those.
> There's a few here:
> Only problem is getting the required test databases imported. I looked a bit at the Sakila
database we use for the MySQL integration tests, and that should just be a quick curl download,
uncompression and import. I guess it's probably the same for the others.

This message was sent by Atlassian JIRA

View raw message