Skip to content

Commit

Permalink
Simplified travis builds (using external script)
Browse files Browse the repository at this point in the history
  • Loading branch information
chillu committed Mar 28, 2013
1 parent 51c00e3 commit 8ae5839
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 44 deletions.
21 changes: 17 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,35 @@
language: php

php:
- 5.3
- 5.4

env:
- TESTDB=MYSQL
- DB=MYSQL CORE_RELEASE=master
- DB=PGSQL CORE_RELEASE=master
- DB=SQLITE3 CORE_RELEASE=master
- PHPCS=1 CORE_RELEASE=master

matrix:
exclude:
- php: 5.4
env: TESTDB=PGSQL
env: DB=PGSQL CORE_RELEASE=master
- php: 5.4
env: DB=SQLITE3 CORE_RELEASE=master
- php: 5.4
env: PHPCS=1 CORE_RELEASE=master
allow_failures:
- env: DB=PGSQL CORE_RELEASE=master
- env: DB=SQLITE3 CORE_RELEASE=master
- env: PHPCS=1 CORE_RELEASE=master

before_script:
- ./tests/travis/before_script ~/builds/ss
- 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

script:
- php framework/cli-script.php dev/tests/module/cms
- phpunit cms/tests/

branches:
except:
Expand Down
40 changes: 0 additions & 40 deletions tests/travis/before_script

This file was deleted.

0 comments on commit 8ae5839

Please sign in to comment.