Generates resource.php for travis-ci tests directly