Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
57 lines (56 sloc) 1.11 KB
language: ruby
bundler_args: --without benchmarks
script:
- bundle exec rake spec
before_install:
- gem --version
- |
bash -c " # Install MySQL 5.7 if DB=mysql57
if [[ x$DB =~ mysql57 ]]; then
sudo bash .travis_mysql57.sh
fi
"
- |
bash -c " # Install MariaDB if DB=mariadb
if [[ x$DB =~ xmariadb ]]; then
sudo bash .travis_mariadb.sh '$DB'
fi
"
- |
bash -c " # Install MySQL is OS=darwin
if [[ x$OSTYPE =~ ^xdarwin ]]; then
brew install mysql
mysql.server start
fi
"
- |
bash -c " # Configure SSL support
sudo bash .travis_ssl.sh
"
- mysqld --version
- mysql -u root -e "CREATE DATABASE IF NOT EXISTS test"
- mysql -u root -e "CREATE USER '$USER'@'localhost'" || true
os:
- linux
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.4
- ree
matrix:
allow_failures:
- env: DB=mysql57
- rvm: rbx-2
include:
- rvm: 2.0.0
env: DB=mariadb55
- rvm: 2.0.0
env: DB=mariadb10
- rvm: 2.0.0
env: DB=mysql57
- rvm: rbx-2
env: RBXOPT=-Xgc.honor_start=true
- rvm: 2.0.0
os: osx
Something went wrong with that request. Please try again.