Skip to content

Commit 1294d6d

Browse files
committed
Adding Travis-CI syntax checking
1 parent 5355f40 commit 1294d6d

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.travis.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
language: php
2+
3+
php:
4+
- '5.4'
5+
- '5.5'
6+
- '5.6'
7+
- '7.0'
8+
9+
matrix:
10+
allow_failures:
11+
- php: 7.0
12+
13+
before_script:
14+
- if find . -name "*.php" -exec php -l {} 2>&1 \; | grep -iv "no syntax errors detected"; then exit 1; fi
15+
16+
script: true
17+
18+
install: true
19+
20+
notifications:
21+
email:
22+
on_success: change
23+
on_failure: always
24+
recipients:
25+
- developers@cacti.net

0 commit comments

Comments
 (0)