AstroFields/Core

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
language: php

php:
  - 5.3.3
  - 5.3
  - 5.4
  - 5.5
  - 5.6

matrix:
  include:
    - php: 5.5
      env: components=high
    - php: 5.3.3
      env: components=low

branches:
  only:
  - master
  - stable

before_script:
  - composer --dev install
  - composer self-update
  - composer validate
  - mkdir -p build/logs

script:
  - bin/phpunit --coverage-clover build/logs/clover.xml

after_script:
  - bin/test-reporter --coverage-report build/logs/clover.xml --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"

notifications:
  slack:
    secure: SIafjJiUuxlAH4kIZTR7XYIwEc2G2mQFbdnEwatKl5dZThOJw/cdtsyN4X91gya0e+fUfYo6tUtcm1e7r8xBQszjcEoqOVtt/Nnv+eKeV98wEErGhIVGvc2J1KOalZen5l6M4WnLBwH7ZAOeI/OHHOpFxFDbRvjof6yEcZjC4lk=