language: php

matrix:
  include:
    - php: 7.0
    - php: 7.1
      env:
        - TEST_COVERAGE=true
install:
  - if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev satooshi/php-coveralls ; fi
  
before_script:
  - composer self-update
  - composer install --prefer-source

script:
    - composer validate
    - ./vendor/bin/phing security:check
    - ./vendor/bin/phing sniff
    - if [[ $TEST_COVERAGE == 'true' ]]; then ./vendor/bin/phing unit-with-coverage ; fi
    - if [[ $TEST_COVERAGE != 'true' ]]; then ./vendor/bin/phing unit ; fi

after_script:
    - if [[ $TEST_COVERAGE == 'true' ]]; then ./vendor/bin/coveralls -v ; fi

language: php

matrix:
  include:
    - php: 7.0
    - php: 7.1
      env:
        - TEST_COVERAGE=true
install:
  - if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev satooshi/php-coveralls ; fi
  
before_script:
  - composer self-update
  - composer install --prefer-source

script:
    - composer validate
    - ./vendor/bin/phing security:check
    - ./vendor/bin/phing sniff
    - if [[ $TEST_COVERAGE == 'true' ]]; then ./vendor/bin/phing unit-with-coverage ; fi
    - if [[ $TEST_COVERAGE != 'true' ]]; then ./vendor/bin/phing unit ; fi

after_script:
    - if [[ $TEST_COVERAGE == 'true' ]]; then ./vendor/bin/coveralls -v ; fi

notifications:
  irc: "irc.freenode.org#disco.dev"
  email: false

Enable IRC notifications for Travis builds
Enable IRC notifications for Travis builds
