Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: e66636c91b
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (15 sloc) 0.728 kB
language: php
php:
- 5.3
- 5.4
env:
- DB=mysql DB_USER=root
before_script:
# MySQL
- sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'SET FOREIGN_KEY_CHECKS = 0; DROP DATABASE IF EXISTS test; DROP SCHEMA IF EXISTS second_hand_books; DROP SCHEMA IF EXISTS contest; DROP DATABASE IF EXISTS reverse_bookstore; DROP SCHEMA IF EXISTS bookstore_schemas; SET FOREIGN_KEY_CHECKS = 1;'; fi"
- sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE test; CREATE SCHEMA bookstore_schemas; CREATE SCHEMA contest; CREATE SCHEMA second_hand_books; CREATE DATABASE reverse_bookstore;'; fi"
# Composer
- wget http://getcomposer.org/composer.phar
- php composer.phar install
- ./test/reset_tests.sh
script: phpunit
Jump to Line
Something went wrong with that request. Please try again.