Skip to content

Commit

Permalink
Adding Travis-CI syntax checking
Browse files Browse the repository at this point in the history
  • Loading branch information
ronytomen committed Sep 18, 2017
1 parent f37f7c6 commit da401d0
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
language: php

php:
- '5.4'
- '5.5'
- '5.6'
- '7.0'

matrix:
allow_failures:
- php: 7.0

before_script:
- if find . -name "*.php" -exec php -l {} 2>&1 \; | grep -iv "no syntax errors detected"; then exit 1; fi

script: true

install: true

notifications:
email:
on_success: change
on_failure: always
recipients:
- [email protected]

0 comments on commit da401d0

Please sign in to comment.