-
Notifications
You must be signed in to change notification settings - Fork 5
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 #28 from Oneflow/development
Release
- Loading branch information
Showing
8 changed files
with
1,741 additions
and
5 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,36 @@ | ||
version: 2 | ||
jobs: | ||
checkout_and_test: | ||
docker: | ||
- image: circleci/php:7.1-node-browsers | ||
steps: | ||
- checkout | ||
- run: sudo docker-php-ext-install zip | ||
- run: sudo composer self-update | ||
- restore_cache: # special step to restore the dependency cache if `composer.lock` does not change | ||
keys: | ||
- composer-v1-{{ checksum "composer.lock" }} | ||
# fallback to using the latest cache if no exact match is found (See https://circleci.com/docs/2.0/caching/) | ||
- composer-v1- | ||
- run: composer install -n --prefer-dist | ||
- save_cache: # special step to save the dependency cache with the `composer.lock` cache key template | ||
key: composer-v1-{{ checksum "composer.lock" }} | ||
paths: | ||
- vendor | ||
- run: | ||
name: run the tests | ||
command: composer test | ||
- run: | ||
name: upload coverage report | ||
command: bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN | ||
- save_cache: | ||
key: v1-source-{{ .Environment.CIRCLE_SHA1 }} | ||
paths: | ||
- ~ | ||
|
||
workflows: | ||
version: 2 | ||
php_coverage: | ||
jobs: | ||
- checkout_and_test: | ||
context: oneflow |
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
composer.lock | ||
composer.phar | ||
vendor/* | ||
.DS_Store | ||
samples/run.sh | ||
.idea | ||
.idea | ||
coverage | ||
coverage.xml |
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.