tests: Add tests for metadata.php
.travis.yml: Add Travis CI configuations