Skip to content

Commit b5654c2

Browse files
authored
Merge pull request #3 from karriereat/feature/add-phpspec-tests
add phpspec tests and refact to use PropertyAccessor
2 parents a11b5e0 + d9d3703 commit b5654c2

23 files changed

+689
-285
lines changed

.travis.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
language: php
2+
3+
php:
4+
- 5.6
5+
- 7.0
6+
- 7.1
7+
8+
before_script:
9+
- travis_retry composer self-update
10+
- travis_retry composer install --no-interaction --prefer-source --dev
11+
12+
script:
13+
- vendor/bin/phpspec run --config=phpspec-coverage.yml
14+
15+
after_success:
16+
- bash <(curl -s https://codecov.io/bash)
17+
18+
sudo: false
19+
20+
cache:
21+
directories:
22+
- $HOME/.composer/cache

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@
1919
"php": ">=5.6"
2020
},
2121
"require-dev": {
22-
"karriere/code-quality": "^3.0"
22+
"karriere/code-quality": "^2.0",
23+
"sebastian/comparator": "^1.1",
24+
"sebastian/exporter": "^2.0",
25+
"sebastian/recursion-context": "^2.0"
2326
},
2427
"scripts": {
2528
"test": "vendor/bin/phpspec run",

0 commit comments

Comments
 (0)