diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..71bc95a --- /dev/null +++ b/install.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +# installing dependencies for lumen-generators +composer install --no-interaction + +# installing dependencies for lumen-test +cd lumen-test && composer install --no-interaction diff --git a/lumen-test/codecept.phar b/lumen-test/codecept.phar new file mode 100644 index 0000000..5082748 Binary files /dev/null and b/lumen-test/codecept.phar differ diff --git a/test.sh b/test.sh new file mode 100755 index 0000000..a9bdea5 --- /dev/null +++ b/test.sh @@ -0,0 +1,4 @@ +# Runing tests for Lumen +cd lumen-test +wget http://codeception.com/codecept.phar +php codecept.phar run \ No newline at end of file diff --git a/travis.yml b/travis.yml new file mode 100644 index 0000000..4118b49 --- /dev/null +++ b/travis.yml @@ -0,0 +1,18 @@ +language: php + +php: + - 5.4 + - 5.5 + - 5.6 + - 7.0 + - hhvm + +matrix: + allow_failures: + - php: 7.0 + +sudo: false + +install: ./install.sh + +script: ./test.sh \ No newline at end of file