Implemented basic Travis-CI test

This commit is contained in:
Shoghi Cervantes
2014-09-07 19:32:21 +02:00
parent 84e62598ce
commit 92b0b4d43c
2 changed files with 45 additions and 8 deletions

View File

@ -1,22 +1,20 @@
language: php
php:
- 5.4
- 5.5
- 5.6
branches:
except:
- Core-Rewrite
- master
- 0.9.0
- master
before_script:
- pecl install channel://pecl.php.net/pthreads-2.0.4
- mkdir plugins
- wget -O plugins/DevTools.phar https://github.com/PocketMine/DevTools/releases/download/v1.9.0/DevTools_v1.9.0.phar
- pecl install channel://pecl.php.net/pthreads-2.0.7
- pecl install channel://pecl.php.net/weakref-0.2.4
- echo | pecl install channel://pecl.php.net/yaml-1.1.1
script:
- php src/tests/ServerSuiteTest.php --no-wizard
- php tests/TravisTest.php --no-wizard
notifications:
email: false