-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved from travis to circleci. Updated dependencies. Removed php7.0 s…
…upport
- Loading branch information
Showing
9 changed files
with
639 additions
and
514 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,83 @@ | ||
version: 2 | ||
jobs: | ||
"php-7.1": | ||
docker: | ||
- image: circleci/php:7.1-node-browsers | ||
working_directory: ~/circleci | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- php71-phantasy-php-composer-{{ checksum "composer.lock" }} | ||
- php71-phantasy-php-composer- | ||
- run: composer install -n --prefer-dist | ||
- save_cache: | ||
key: php71-phantasy-php-composer-{{ checksum "composer.lock" }} | ||
paths: | ||
- vendor | ||
- run: mkdir -p build/logs | ||
- run: | ||
name: Run Linting | ||
command: composer lint | ||
- run: | ||
name: Run Tests | ||
command: composer test | ||
|
||
"php-7.2": | ||
docker: | ||
- image: circleci/php:7.2-node-browsers | ||
working_directory: ~/circleci | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- php72-phantasy-php-composer-{{ checksum "composer.lock" }} | ||
- php72-phantasy-php-composer- | ||
- run: composer install -n --prefer-dist | ||
- save_cache: | ||
key: php72-phantasy-php-composer-{{ checksum "composer.lock" }} | ||
paths: | ||
- vendor | ||
- run: mkdir -p build/logs | ||
- run: | ||
name: Run Linting | ||
command: composer lint | ||
- run: | ||
name: Run Tests | ||
command: composer test | ||
|
||
"php-7.3": | ||
docker: | ||
- image: circleci/php:7.3-node-browsers | ||
working_directory: ~/circleci | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- php73-phantasy-php-composer-{{ checksum "composer.lock" }} | ||
- php73-phantasy-php-composer- | ||
- run: composer install -n --prefer-dist | ||
- save_cache: | ||
key: php73-phantasy-php-composer-{{ checksum "composer.lock" }} | ||
paths: | ||
- vendor | ||
- run: mkdir -p build/logs | ||
- run: | ||
name: Run Linting | ||
command: composer lint | ||
- run: | ||
name: Run Coverage | ||
command: composer coverage | ||
- run: | ||
name: Upload Coverage | ||
command: composer upload-coverage | ||
- store_artifacts: | ||
path: build/html | ||
|
||
workflows: | ||
version: 2 | ||
build: | ||
jobs: | ||
- "php-7.1" | ||
- "php-7.2" | ||
- "php-7.3" |
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 |
---|---|---|
|
@@ -3,4 +3,4 @@ vendor | |
coverage | ||
build | ||
*.swp | ||
.vscode | ||
.vscode |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.