Skip to content

Commit

Permalink
Merge pull request #9 from SpeksForks/adding-default-travis-config
Browse files Browse the repository at this point in the history
Adding default Travis config for testing
  • Loading branch information
spekulatius authored Jul 10, 2016
2 parents d52bd3b + 171d7b4 commit 69bca44
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@ sudo: false
language: php

php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0

env:
- DB=MYSQL CORE_RELEASE=3.2
- DB=MYSQL CORE_RELEASE=3.1

matrix:
include:
Expand All @@ -22,16 +21,21 @@ matrix:
env: DB=MYSQL CORE_RELEASE=3.1
- php: 5.6
env: DB=PGSQL CORE_RELEASE=3.2
- php: 5.6
env: DB=PGSQL CORE_RELEASE=3.3
- php: 5.6
env: DB=PGSQL CORE_RELEASE=3.4
allow_failures:
- php: 7.0

before_script:
- composer self-update || true
- composer clear-cache
- composer validate --strict
- git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
- cd ~/builds/ss
- composer install

script:
- ./vendor/bin/phpunit inheritage-by-sitetree/tests
- ./vendor/bin/phpunit ./inheritage-by-sitetree/tests

0 comments on commit 69bca44

Please sign in to comment.