Skip to content

Commit

Permalink
Merge pull request #2 from ollyxar/dev
Browse files Browse the repository at this point in the history
Dev ci
  • Loading branch information
alexslipknot authored Oct 19, 2017
2 parents 2c4bbed + 33a40de commit 0ebe246
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ language: php
sudo: false

php:
- 7.0
- 7.1

before_script:
- curl --version
- composer install --no-interaction --prefer-source --dev

script: vendor/bin/phpunit
script: vendor/bin/phpunit --configuration phpunit.xml
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}
],
"require": {
"php": "^7.0"
"php": ">=7.1"
},
"require-dev": {
"phpunit/phpunit": "^6.0"
Expand Down
20 changes: 20 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false">
<testsuites>
<testsuite name="Application Test Suite">
<directory>./tests</directory>
</testsuite>
</testsuites>
<php>
<env name="APP_ENV" value="test"/>
</php>
</phpunit>

0 comments on commit 0ebe246

Please sign in to comment.