From 803388744a2a10f240214678a5b704331584c465 Mon Sep 17 00:00:00 2001 From: Devin Matte Date: Mon, 9 Apr 2018 13:01:09 -0400 Subject: [PATCH] Adding travis testing --- .travis.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..9cd1af6 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,16 @@ +language: php +php: + - 7.0 + - 7.1 + - 7.2 + - hhvm + - nightly + +matrix: + allow_failures: + - php: 7.0 + - php: hhvm + - php: nightly + +script: + - if find . -name "*.php" ! -path "./vendor/*" -exec php -l {} 2>&1 \; | grep "syntax error, unexpected"; then exit 1; fi