Skip to content

Commit 0da5af6

Browse files
committed
add circleci config
1 parent 0cb83a1 commit 0da5af6

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed

.circleci/config.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
version: 2
2+
jobs:
3+
build:
4+
docker:
5+
- image: circleci/php:7.1.8-browsers
6+
working_directory: ~/laravel-mutate
7+
steps:
8+
- checkout
9+
- run: sudo apt install -y libsqlite3-dev
10+
- run: composer self-update
11+
- restore_cache:
12+
keys:
13+
- composer-v1-{{ checksum "composer.json" }}
14+
- composer-v1-
15+
- run: composer install -n --prefer-dist
16+
- save_cache:
17+
key: composer-v1-{{ checksum "composer.json" }}
18+
paths:
19+
- vendor
20+
- run: ./vendor/bin/phpunit --testsuite Unit
21+
- run: ./vendor/bin/phpunit --testsuite Integration

phpunit.xml.dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
processIsolation="false"
1010
stopOnFailure="false">
1111
<testsuites>
12-
<testsuite name="Unit Tests">
12+
<testsuite name="Unit">
1313
<directory suffix=".php">./tests/Unit</directory>
1414
</testsuite>
15-
<testsuite name="Integration Tests">
15+
<testsuite name="Integration">
1616
<directory suffix=".php">./tests/Integration</directory>
1717
</testsuite>
1818
</testsuites>

0 commit comments

Comments
 (0)