diff --git a/.travis.yml b/.travis.yml index 000cc5fd..4207d749 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,15 +3,16 @@ php: - 5.3 env: - - TESTDB=MYSQL - - TESTDB=PGSQL + - DB=MYSQL CORE_RELEASE=2.4 + - DB=PGSQL CORE_RELEASE=2.4 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 sapphire/cli-script.php dev/tests/module/cms + - phpunit cms/tests branches: except: diff --git a/tests/travis/before_script b/tests/travis/before_script deleted file mode 100755 index ac9a6f0c..00000000 --- a/tests/travis/before_script +++ /dev/null @@ -1,10 +0,0 @@ -BUILD_DIR=$1 -git clone --depth=100 --branch 2.4 --quiet git://github.com/silverstripe/silverstripe-installer.git $BUILD_DIR -git clone --depth=100 --branch 1.2 --quiet git://github.com/silverstripe-labs/silverstripe-sqlite3.git $BUILD_DIR/sqlite3 -git clone --depth=100 --branch 1.0 --quiet git://github.com/silverstripe/silverstripe-postgresql.git $BUILD_DIR/postgresql -git clone --depth=100 --quiet --branch 2.4 git://github.com/silverstripe/sapphire.git $BUILD_DIR/sapphire -cp $BUILD_DIR/sapphire/tests/travis/_ss_environment.php $BUILD_DIR -cp $BUILD_DIR/sapphire/tests/travis/_config.php $BUILD_DIR/mysite -cp -r . $BUILD_DIR/cms - -cd $BUILD_DIR