Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Commit

Permalink
Merge pull request #38 from ibuildingsnl/improvement/travis-tweaks-two
Browse files Browse the repository at this point in the history
Further caching and composer tweaks
  • Loading branch information
Daan van Renterghem committed Apr 25, 2014
2 parents 8e1ccfb + 28cfd44 commit ed9a2cb
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion bin/qa-tools
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ use \Ibuildings\QA\Tools\Common\Settings;

$appConfig = new Settings($baseDir, $packageBaseDir);

$application = new Application('Ibuildings QA Tools Setup', '1.1.16', $appConfig);
$application = new Application('Ibuildings QA Tools Setup', '1.1.17', $appConfig);

$application->add(new \Ibuildings\QA\Tools\Common\Console\InstallCommand());
$application->add(new \Ibuildings\QA\Tools\Javascript\Console\InstallJsHintCommand());
Expand Down
4 changes: 2 additions & 2 deletions config-dist/.travis.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ env:
{% endif %}
cache:
directories:
- ./vendor
- ~/.composer

before_script:
- phpenv config-add .travis.php.ini
- composer self-update
- composer install --prefer-dist
- phpenv config-add .travis.php.ini

script:
- ant
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function setup()

$changesetCommand = $this->getMock('Ibuildings\QA\Tools\Common\Console\ChangeSetPreCommitCommand', array('getChangeSet'));

$this->application = new Application('ibuildings qa tools', '1.1.16', $settings);
$this->application = new Application('ibuildings qa tools', '1.1.17', $settings);

$changesetCommand->expects($this->any())
->method('getChangeSet')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function setup()
$packageBaseDir = realpath(__DIR__ . '/../../../../../../');
$settings = new SettingsMock($baseDir, $packageBaseDir);

$this->application = $this->getMock('Ibuildings\QA\Tools\Common\Application', array('getDialogHelper'), array('ibuildings qa tools', '1.1.16', $settings));
$this->application = $this->getMock('Ibuildings\QA\Tools\Common\Application', array('getDialogHelper'), array('ibuildings qa tools', '1.1.17', $settings));

$dialog = $this->getMock('Ibuildings\QA\Tools\Common\Console\Helper\DialogHelper', array('askConfirmation', 'askAndValidate', 'select'));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function setup()
$preCommitHookCommand = new InstallPreCommitHookCommand();
$preCommitHookCommand->setChecker($checker);

$this->application = $this->getMock('Ibuildings\QA\Tools\Common\Application', array('getDialogHelper'), array('ibuildings qa tools', '1.1.16', $settings));
$this->application = $this->getMock('Ibuildings\QA\Tools\Common\Application', array('getDialogHelper'), array('ibuildings qa tools', '1.1.17', $settings));

$dialog = $this->getMock('Ibuildings\QA\Tools\Common\Console\Helper\DialogHelper', array('askConfirmation', 'askAndValidate'));

Expand Down
2 changes: 1 addition & 1 deletion src/Ibuildings/QA/tests/Common/Console/RunCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function setup()
$preCommitHookCommand = new RunCommand();
$preCommitHookCommand->setChecker($checker);

$this->application = new Application('ibuildings qa tools', '1.1.16', $settings);
$this->application = new Application('ibuildings qa tools', '1.1.17', $settings);

$this->application->add($preCommitHookCommand);
}
Expand Down
4 changes: 2 additions & 2 deletions src/Ibuildings/QA/tests/Common/Console/fixtures/.travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ env:

cache:
directories:
- ./vendor
- ~/.composer

before_script:
- phpenv config-add .travis.php.ini
- composer self-update
- composer install --prefer-dist
- phpenv config-add .travis.php.ini

script:
- ant
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function setup()
$packageBaseDir = realpath(__DIR__ . '/../../../../../../');
$settings = new Settings($baseDir, $packageBaseDir);

$this->application = new Application('ibuildings qa tools', '1.1.16', $settings);
$this->application = new Application('ibuildings qa tools', '1.1.17', $settings);

/** @var InstallJsHintCommand $command */
$command = $this->getMock('Ibuildings\QA\tests\mock\InstallJsHintCommand', array('installNpmDependencies'));
Expand Down

0 comments on commit ed9a2cb

Please sign in to comment.