Skip to content

Commit

Permalink
Improved testing
Browse files Browse the repository at this point in the history
More PHP versions, removed deprecated travis scripts, local phpunit
  • Loading branch information
snapshotpl authored and prewk committed Jul 29, 2017
1 parent d6609f6 commit c5ca083
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 168 deletions.
3 changes: 2 additions & 1 deletion .gitignore
@@ -1,2 +1,3 @@
.idea
vendor/
vendor/
composer.lock
12 changes: 7 additions & 5 deletions .travis.yml
@@ -1,10 +1,12 @@
language: php
php:
- nightly
- 7.1
- 7.0
- 5.6
- 5.5
- 5.4
- 5.3

before_script:
- composer selfupdate
- composer install --prefer-source

script: phpunit
before_script: composer install
script: vendor/bin/phpunit
9 changes: 5 additions & 4 deletions composer.json
Expand Up @@ -11,14 +11,15 @@
],
"autoload": {
"psr-4": {
"Prewk\\": "src"
"Prewk\\": "src/"
}
},
"require": {
"php": ">=5.3.0"
"php": ">=5.3"
},
"require-dev": {
"prewk/xml-faker": "0.0.2",
"mockery/mockery": "0.8.0"
"prewk/xml-faker": "^0.0.2",
"mockery/mockery": "^0.8.0",
"phpunit/phpunit": "^4.8 || ^5.7.21"
}
}
158 changes: 0 additions & 158 deletions composer.lock

This file was deleted.

0 comments on commit c5ca083

Please sign in to comment.