Skip to content

Commit

Permalink
Merge pull request #2 from clippings/add-php-versions
Browse files Browse the repository at this point in the history
add php versions
  • Loading branch information
stanstst authored Feb 11, 2020
2 parents 9577b47 + 36e829c commit 9f4cc75
Show file tree
Hide file tree
Showing 3 changed files with 293 additions and 273 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
language: php

php:
- 7.0
- 7.1
- 7.2
- 7.3

before_install:
- composer selfupdate
Expand All @@ -14,7 +15,7 @@ before_script:
- mkdir -p build/logs

script:
- phpunit --coverage-clover build/logs/clover.xml
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml

after_script:
- test -e build/logs/clover.xml && wget https://scrutinizer-ci.com/ocular.phar
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
],
"require": {
"php": "^7"
"php": "^7.1"
},
"autoload": {
"psr-4": {"Clippings\\Freezable\\": "src/"}
Expand All @@ -21,11 +21,11 @@
}
},
"require-dev": {
"phpunit/phpunit": "^6.3"
"phpunit/phpunit": "^7.0"
},
"config": {
"platform": {
"php": "7.0"
"php": "7.1"
}
}
}
Loading

0 comments on commit 9f4cc75

Please sign in to comment.