database_cleaner/.travis.yml

34 lines
833 B
YAML
Raw Normal View History

2018-04-23 22:51:32 -04:00
sudo: false
2012-07-08 10:18:35 -04:00
language: ruby
rvm:
2012-12-03 20:20:28 -05:00
- 1.9.3
- 2.0.0
- 2.1
- 2.2
script:
- bundle exec rspec
- bundle exec cucumber
2012-07-08 10:18:35 -04:00
gemfile:
- Gemfile
2015-12-24 10:41:08 -05:00
before_install:
2018-04-23 22:51:32 -04:00
- | # 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
2012-07-08 10:18:35 -04:00
before_script:
2018-04-23 22:51:32 -04:00
- neo4j-community-2.3.3/bin/neo4j start
2012-08-06 01:22:39 -04:00
- mysql -e 'create database database_cleaner_test;'
- psql -c 'create database database_cleaner_test;' -U postgres
- cp db/sample.config.yml db/config.yml
2012-12-03 19:12:48 -05:00
services:
- redis-server
2012-12-03 20:20:28 -05:00
- mongodb
2018-04-23 22:51:32 -04:00
cache:
bundler: true
directories:
- neo4j-community-2.3.3