Skip to content

Commit

Permalink
Added standard Travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
helpfulrobot committed Nov 18, 2015
1 parent 9b3d3be commit bf4adde
Showing 1 changed file with 22 additions and 19 deletions.
41 changes: 22 additions & 19 deletions .travis.yml
@@ -1,16 +1,27 @@
# See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details

sudo: false

language: php

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

sudo: false
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0

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

matrix:
include:
- php: 5.6
env: DB=MYSQL CORE_RELEASE=3
- php: 5.6
env: DB=MYSQL CORE_RELEASE=3.1
- php: 5.6
env: DB=PGSQL CORE_RELEASE=3.2

before_script:
- composer self-update || true
Expand All @@ -20,16 +31,8 @@ before_script:
- composer install

script:
- vendor/bin/phpunit --coverage-clover coverage.clover environmentcheck/tests
- wget https://scrutinizer-ci.com/ocular.phar
- git remote rm origin
- git remote add origin git@github.com:silverstripe-labs/silverstripe-environmentcheck.git
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover

branches:
only:
- master
- vendor/bin/phpunit environmentcheck/tests

matrix:
allow_failures:
- php: 7.0
allow_failures:
- php: 7.0

0 comments on commit bf4adde

Please sign in to comment.