database_cleaner/.travis.yml
Ernesto Tagwerker ab823006bb
Merge pull request #536 from botandrose/fix_mongo_specs
Fix mongo specs & re-enable cucumber
2018-04-25 22:19:37 -04:00

33 lines
833 B
YAML

sudo: false
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
script:
- bundle exec rspec
- bundle exec cucumber
gemfile:
- Gemfile
before_install:
- | # cached install of Neo4j locally:
if [ ! -d neo4j-community-2.3.3/bin ];
then
wget dist.neo4j.org/neo4j-community-2.3.3-unix.tar.gz;
tar -xzf neo4j-community-2.3.3-unix.tar.gz;
sed -i.bak s/dbms.security.auth_enabled=true/dbms.security.auth_enabled=false/g neo4j-community-2.3.3/conf/neo4j-server.properties;
fi
before_script:
- neo4j-community-2.3.3/bin/neo4j start
- mysql -e 'create database database_cleaner_test;'
- psql -c 'create database database_cleaner_test;' -U postgres
- cp db/sample.config.yml db/config.yml
services:
- redis-server
- mongodb
cache:
bundler: true
directories:
- neo4j-community-2.3.3