Skip to content

Commit

Permalink
Merge pull request #61 from mollie/rm22761-update-travis
Browse files Browse the repository at this point in the history
Lint .php files during CI, Composer validation + caching
  • Loading branch information
Willem Stuursma-Ruwen authored Mar 1, 2017
2 parents 4995d6f + 7558c82 commit f131245
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
25 changes: 20 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
language: php

php:
- "7.0"
- "5.6"
- "5.5"
- "5.4"
script: "phpunit -c tests/phpunit.xml"
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1

sudo: false

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

install:
- travis_retry composer install --no-interaction

script:
- composer validate --strict
- find admin catalog tests -name *.php | xargs -n 1 -P4 php -l
- vendor/bin/phpunit -c tests/phpunit.xml
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "mollie/opencart",
"description": "Mollie module for OpenCart",
"version": "7.1.1",
"homepage": "https://www.mollie.com",
"authors": [
{
Expand Down

0 comments on commit f131245

Please sign in to comment.