forked from qpleple/cloudstack-php-client
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from dcarbone/master
Interaction Modifications
- Loading branch information
Showing
18 changed files
with
1,464 additions
and
465 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
language: php | ||
|
||
dist: trusty | ||
|
||
sudo: false | ||
|
||
php: | ||
- 7.0 | ||
|
||
matrix: | ||
include: | ||
- php: 7.0 | ||
env: | ||
- BUILD_PHAR=true | ||
|
||
install: | ||
- composer install --no-interaction --no-dev --no-progress --no-suggest --optimize-autoloader | ||
|
||
script: | ||
- if [[ $BUILD_PHAR == 'true' && $TRAVIS_TAG != '' ]]; then /usr/bin/env php ./bin/php-cs phpcs:build -vvv ; fi | ||
|
||
deploy: | ||
provider: releases | ||
api_key: $GITHUB_API_TOKEN | ||
file: build/php-cs.phar | ||
skip_cleanup: true | ||
on: | ||
tags: true | ||
php: '7.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
|
||
if (PHP_SAPI !== 'cli') { | ||
echo 'PHP-CS should be invoked via the CLI version of PHP, not the '.PHP_SAPI.' SAPI'.PHP_EOL; | ||
} | ||
|
||
require __DIR__.'/../vendor/autoload.php'; | ||
|
||
if (!(bool)getenv('PHPCS_PHAR')) { | ||
define('PHPCS_ROOT', realpath(__DIR__.'/../')); | ||
} | ||
|
||
use MyENA\CloudStackClientGenerator\Application; | ||
use Symfony\Component\Console\Formatter\OutputFormatter; | ||
use Symfony\Component\Console\Formatter\OutputFormatterStyle; | ||
use Symfony\Component\Console\Output\ConsoleOutput; | ||
|
||
error_reporting(-1); | ||
|
||
$application = new Application('PHP CloudStack', '3.0.0'); | ||
$application->run(); |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.