Skip to content

Commit

Permalink
Travis: fixed prepare-composer.php
Browse files Browse the repository at this point in the history
  • Loading branch information
fprochazka committed Oct 12, 2014
1 parent 72638c2 commit aa4ede3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/travis/prepare-composer.php
Expand Up @@ -7,10 +7,14 @@
$composerFile = $travisDir . '/composer-' . getenv('NETTE') . '.json';

unlink($rootDir . '/composer.json');
copy($composerFile, $rootDir . '/composer.json');
if (!copy($composerFile, $rootDir . '/composer.json')) {
exit(1);
}

echo "Using tests/", basename($composerFile);

} else {
echo "Using default composer.json";
}

exit(0);

0 comments on commit aa4ede3

Please sign in to comment.