Skip to content

Commit

Permalink
Travis: tests dir cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
fprochazka committed Oct 12, 2014
1 parent d26df69 commit 72638c2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -16,7 +16,7 @@ matrix:
- php: hhvm

before_script:
- php tests/prepare-composer.php
- php tests/travis/prepare-composer.php
- composer self-update
- composer install --no-interaction --prefer-source --dev
- vendor/bin/parallel-lint -e php --exclude vendor .
Expand Down
File renamed without changes.
@@ -1,10 +1,10 @@
<?php

$rootDir = __DIR__ . '/..';
$testsDir = __DIR__;
$rootDir = __DIR__ . '/../..';
$travisDir = __DIR__;

if (getenv('NETTE') !== 'default') {
$composerFile = $testsDir . '/composer-' . getenv('NETTE') . '.json';
$composerFile = $travisDir . '/composer-' . getenv('NETTE') . '.json';

unlink($rootDir . '/composer.json');
copy($composerFile, $rootDir . '/composer.json');
Expand Down

0 comments on commit 72638c2

Please sign in to comment.