TravisCI added

This commit is contained in:
Amine Ben hammou 2015-09-24 02:03:29 +01:00
parent db0f6e8033
commit 4e6b3999c2
4 changed files with 29 additions and 0 deletions

7
install.sh Executable file
View File

@ -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

BIN
lumen-test/codecept.phar Normal file

Binary file not shown.

4
test.sh Executable file
View File

@ -0,0 +1,4 @@
# Runing tests for Lumen
cd lumen-test
wget http://codeception.com/codecept.phar
php codecept.phar run

18
travis.yml Normal file
View File

@ -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