language: php
php:
  - 7.0
  - 5.6
  - 5.5
  - 5.4
  - 5.3
env:
  - BRANCHES=1.8/master
  - BRANCHES=1.7/master
  - BRANCHES=1.6/master
  - BRANCHES=1.5/master
matrix:
  exclude:
    - php: 7.0
      env: BRANCHES=1.7/master
    - php: 7.0
      env: BRANCHES=1.6/master
    - php: 7.0
      env: BRANCHES=1.5/master
before_install:
  - git clone --recursive --quiet --branch=$BRANCHES git://github.com/fuel/fuel.git "$HOME/fuelphp"
install:
  - if [ -e "$HOME/fuelphp/composer.json" ]; then pushd "$HOME/fuelphp" ; wget http://getcomposer.org/composer.phar ; php composer.phar self-update; php composer.phar install; popd ; fi
before_script:
  - ln -sf "`pwd`" "$HOME/fuelphp/fuel/packages/fuelphp-seo"
  - cp -f "`pwd`/tests/travis-ci/config.php"  "$HOME/fuelphp/fuel/app/config/test/"
script:
  - php "$HOME/fuelphp/oil" test --group=Hinashiki-fuelphp-seo --coverage-text

language: php
php:
  - 5.6
  - 5.5
  - 5.4
  - 5.3
env:
  - BRANCHES=1.8/master
  - BRANCHES=1.7/master
  - BRANCHES=1.6/master
  - BRANCHES=1.5/master
before_install:
  - git clone --recursive --quiet --branch=$BRANCHES git://github.com/fuel/fuel.git "$HOME/fuelphp"
install:
  - if [ -e "$HOME/fuelphp/composer.json" ]; then pushd "$HOME/fuelphp" ; wget http://getcomposer.org/composer.phar ; php composer.phar self-update; php composer.phar install; popd ; fi
before_script:
  - ln -sf "`pwd`" "$HOME/fuelphp/fuel/packages/fuelphp-seo"
  - cp -f "`pwd`/tests/travis-ci/config.php"  "$HOME/fuelphp/fuel/app/config/test/"
script:
  - php "$HOME/fuelphp/oil" test --group=Hinashiki-fuelphp-seo --coverage-text

Remove php7 from testcase because of core testcase class not correspond to new PHPUnit namespace.
Remove php7 from testcase because of core testcase class not correspond
to new PHPUnit namespace.
