Skip to content

Commit

Permalink
Merge pull request #19 from willemstuursma/master
Browse files Browse the repository at this point in the history
Don't export tests/ in Composer dist installs
  • Loading branch information
ddeboer committed Jan 30, 2017
2 parents 3d7b1a8 + 044cc81 commit 47d23a8
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/tests export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.scrutinizer.yml export-ignore
/.travis.yml export-ignore
/phpunit.xml.dist export-ignore
/README.md export-ignore
10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,16 @@ php:
- 7.0
- 7.1

cache:
directories:
- $HOME/.composer/cache

before_script:
- composer install --dev
- travis_retry composer install --dev

script: phpunit --coverage-clover=coverage.clover
script:
- composer validate --strict
- vendor/bin/phpunit --coverage-clover=coverage.clover

after_script:
- wget https://scrutinizer-ci.com/ocular.phar
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"php": ">=5.3.0"
},
"require-dev": {
"ext-soap": "*"
"ext-soap": "*",
"phpunit/phpunit": "^4.0 || ^5.0"
},
"suggest": {
"ext-soap": "Required if you want to check the VAT number via VIES"
Expand Down

0 comments on commit 47d23a8

Please sign in to comment.