language: php

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

matrix:
  allow_failures:
    - php: 7.0

sudo: false

before_script:
  - git clone https://github.com/octobercms/october.git
  - mkdir -p ./october/plugins/vojtasvoboda/cnbrates
  - mv !(october) october/plugins/vojtasvoboda/cnbrates
  - cd october
  - composer self-update
  - travis_retry composer install --no-interaction --prefer-source
  - cd plugins/vojtasvoboda/cnbrates
  - composer install

script: ../../../vendor/bin/phpunit --coverage-clover plugins/vojtasvoboda/cnbrates/build/logs/clover.xml

after_script:
  - vendor/bin/test-reporter

addons:
    code_climate:
        repo_token: 6459965ebd05b39e4374a1d294568a18ad1998098a7ce94cdf58bf9e11e7a44d
language: php

php:
  - 5.5
  - 5.6
  - 7.0
  - hhvm

matrix:
  allow_failures:
    - php: 7.0

sudo: false

before_script:
  - git clone https://github.com/octobercms/october.git
  - mkdir -p ./october/plugins/vojtasvoboda/cnbrates
  - mv !(october) october/plugins/vojtasvoboda/cnbrates
  - cd october
  - composer self-update
  - travis_retry composer install --no-interaction --prefer-source
  - cd plugins/vojtasvoboda/cnbrates
  - composer install

script: ../../../vendor/bin/phpunit --coverage-clover plugins/vojtasvoboda/cnbrates/build/logs/clover.xml

after_script:
  - vendor/bin/test-reporter

addons:
    code_climate:
        repo_token: 6459965ebd05b39e4374a1d294568a18ad1998098a7ce94cdf58bf9e11e7a44d
Remove PHP 5.4 from Travis
Remove PHP 5.4 from Travis
