diff options
author | emkael <emkael@tlen.pl> | 2016-12-27 14:44:39 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2016-12-27 14:44:39 +0100 |
commit | 59bd9d51cc705dd44bdce753a56cc6ae914b02ce (patch) | |
tree | d61f42dccd15b1b630204c1575b4dedc1c98e9cf /lib/codebird-php/.travis.yml | |
parent | b76bf844db1f196e3fa709461fcb4706839744e5 (diff) |
* directory structure
Diffstat (limited to 'lib/codebird-php/.travis.yml')
-rw-r--r-- | lib/codebird-php/.travis.yml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/lib/codebird-php/.travis.yml b/lib/codebird-php/.travis.yml new file mode 100644 index 0000000..6fe5235 --- /dev/null +++ b/lib/codebird-php/.travis.yml @@ -0,0 +1,48 @@ +# The Travis setup: +# - run testsuite for every PHP version +# - run lint for every PHP version + +language: php +sudo: false + +php: + - "7.0" + - "5.6" + - "5.5" + - hhvm + - nightly + +sudo: false + +before_script: + - export PATH=~/.composer/vendor/bin/:$PATH + - composer install --no-interaction + - pip install --user codecov + +script: + - ant clean + - set -e; + if [ $TRAVIS_PHP_VERSION == "hhvm" ] ; then + ant phpunit-hhvm ; + else + ant phpunit ; + fi + +after_script: + - if [ -f vendor/bin/coveralls ] ; then php vendor/bin/coveralls -v || true ; fi + - codecov + - if [ -f php.log ] ; then cat php.log ; fi + +matrix: + allow_failures: + - php: hhvm + - php: nightly + fast_finish: true +cache: + directories: + - $HOME/.composer/cache/ + - $HOME/runkit +# trigger Buildtime Trend Service to parse Travis CI log +notifications: + webhooks: + - https://buildtimetrend.herokuapp.com/travis |