Permalink
Browse files

Merge pull request #5 from tuupola/modern-travis

Test modern versions of PHP and use current Travis configuration
  • Loading branch information...
klaussilveira committed May 20, 2016
2 parents 4490394 + ef4a38f commit 57ab193137bf41b4975497c41b68b0bd470891a7
Showing with 18 additions and 5 deletions.
  1. +15 −5 .travis.yml
  2. +3 −0 composer.json
View
@@ -1,11 +1,21 @@
+sudo: false
+
language: php
before_script:
- - curl -s http://getcomposer.org/installer | php
- - php composer.phar install
+ - travis_retry composer self-update
+ - travis_retry composer install --no-interaction
php:
- - 5.3
- - 5.4
+ - 5.3
+ - 5.4
+ - 5.5
+ - 5.6
+ - 7.0
+
+script:
+ - vendor/bin/phpunit
-script: phpunit
+cache:
+ directories:
+ - $HOME/.composer/cache
View
@@ -8,5 +8,8 @@
},
"require": {
"php": ">=5.3.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^4.8"
}
}

0 comments on commit 57ab193

Please sign in to comment.