-
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.
- Loading branch information
1 parent
b7580cf
commit a5444fe
Showing
4 changed files
with
68 additions
and
2 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,58 @@ | ||
# PHP CircleCI 2.0 configuration file | ||
# | ||
# Check https://circleci.com/docs/2.0/language-php/ for more details | ||
# | ||
version: 2 | ||
jobs: | ||
build: | ||
docker: | ||
# Specify the version you desire here | ||
- image: circleci/php:7.1-node-browsers | ||
|
||
# Specify service dependencies here if necessary | ||
# CircleCI maintains a library of pre-built images | ||
# documented at https://circleci.com/docs/2.0/circleci-images/ | ||
# Using the RAM variation mitigates I/O contention | ||
# for database intensive operations. | ||
# - image: circleci/mysql:5.7-ram | ||
# | ||
# - image: redis:2.8.19 | ||
|
||
steps: | ||
- checkout | ||
|
||
- run: sudo apt update # PHP CircleCI 2.0 Configuration File# PHP CircleCI 2.0 Configuration File sudo apt install zlib1g-dev libsqlite3-dev | ||
- run: sudo docker-php-ext-install zip | ||
|
||
# Download and cache dependencies | ||
- restore_cache: | ||
keys: | ||
# "composer.lock" can be used if it is committed to the repo | ||
- v1-dependencies-{{ checksum "composer.json" }} | ||
# fallback to using the latest cache if no exact match is found | ||
- v1-dependencies- | ||
|
||
- run: composer install -n --prefer-dist | ||
|
||
- save_cache: | ||
key: v1-dependencies-{{ checksum "composer.json" }} | ||
paths: | ||
- ./vendor | ||
- restore_cache: | ||
keys: | ||
- node-v1-{{ checksum "package.json" }} | ||
- node-v1- | ||
- run: yarn install | ||
- save_cache: | ||
key: node-v1-{{ checksum "package.json" }} | ||
paths: | ||
- node_modules | ||
|
||
# prepare the database | ||
- run: touch storage/testing.sqlite | ||
- run: php artisan migrate --env=testing --database=sqlite_testing --force | ||
|
||
# run tests with phpunit or codecept | ||
#- run: ./vendor/bin/phpunit | ||
- run: ./vendor/bin/codecept build | ||
- run: ./vendor/bin/codecept run |
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 +1,8 @@ | ||
# i18next | ||
# i18next | ||
[](https://travis-ci.org/abbadon1334/atk4-i18next-php) | ||
[](https://www.codacy.com/app/abbadon1334/atk4-i18next-php?utm_source=github.com&utm_medium=referral&utm_content=abbadon1334/atk4-i18next-php&utm_campaign=Badge_Grade) | ||
[](https://www.codacy.com/app/abbadon1334/atk4-i18next-php?utm_source=github.com&utm_medium=referral&utm_content=abbadon1334/atk4-i18next-php&utm_campaign=Badge_Coverage) | ||
[](https://coveralls.io/github/abbadon1334/atk4-i18next-php?branch=master) | ||
[](https://github.styleci.io/repos/196214699) | ||
[](https://codeclimate.com/github/abbadon1334/atk4-i18next-php/maintainability) | ||
[](https://codeclimate.com/github/abbadon1334/atk4-i18next-php/test_coverage) |
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