Skip to content

Commit

Permalink
Merge pull request #197 from Roave/fix-builds
Browse files Browse the repository at this point in the history
Fix Travis builds
  • Loading branch information
Ocramius authored Feb 8, 2020
2 parents fed1988 + 43577f3 commit ab134cb
Show file tree
Hide file tree
Showing 47 changed files with 315 additions and 209 deletions.
9 changes: 0 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
language: php

sudo: false

php:
- 7.3
- 7.4
- nightly

matrix:
allow_failures:
- php: 7.4
- php: nightly

before_script:
- if ! git show-ref --quiet master; then
Expand All @@ -28,7 +20,6 @@ deploy:
provider: releases
api_key: $DEPLOY_TOKEN_SECURE
file: dist/roave-backward-compatibility-check.phar
skip_cleanup: true
on:
tags: true

Expand Down
2 changes: 1 addition & 1 deletion bin/roave-backward-compatibility-check.php
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ static function (string $installationPath) use ($composerIo) : Installer {
);

$application->add($apiCompareCommand);
$application->setDefaultCommand($apiCompareCommand->getName());
$application->setDefaultCommand('roave-backwards-compatibility-check:assert-backwards-compatible');

$application->run($input, $output);
})();
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"roave/security-advisories": "dev-master",
"squizlabs/php_codesniffer": "^3.5.4",
"thecodingmachine/phpstan-safe-rule": "^0.1.4",
"vimeo/psalm": "^3.8.3"
"vimeo/psalm": "^3.8.5"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit ab134cb

Please sign in to comment.