DerDu/MOC-Framework-Mark-V

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
# see http://about.travis-ci.org/docs/user/languages/php/ for more hints
language: php

php:
  - 5.4
  - 5.5
  - 5.6
  - 7.0
  - hhvm
matrix:
  allow_failures:
    - php: 7.0
    - php: hhvm

before_script:
  - curl -s http://getcomposer.org/installer | php
  - php composer.phar install --dev --no-interaction

script:
 - mkdir -p build/logs
 - phpunit --version
 - phpunit --configuration TestSuite/phpunit.xml --coverage-text --debug
 - phpunit --configuration TestSuite/phpunit.xml --coverage-clover build/logs/clover.xml

after_script:
 - php vendor/bin/coveralls -v
 - CODECLIMATE_REPO_TOKEN="66db97ed4e54d528ec942e58f9ece9e8858cea9ee4c41f2a1e10256416695631" ./vendor/bin/test-reporter --stdout > codeclimate.json
 - "curl -X POST -d @codeclimate.json -H 'Content-Type: application/json' -H 'User-Agent: Code Climate (PHP Test Reporter v0.1.1)' https://codeclimate.com/test_reports"
 - export CODACY_PROJECT_TOKEN=b873417db95f47da9960433ee0008050
 - php vendor/bin/codacycoverage clover build/logs/clover.xml

notifications:
  email: false