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
|
2013-01-08 12:51:12 -05:00
|
|
|
- 2.0.0
|
2015-01-05 16:18:45 -05:00
|
|
|
- 2.1
|
|
|
|
- 2.2
|
2017-05-02 17:12:05 -04:00
|
|
|
script:
|
|
|
|
- bundle exec rspec
|
2018-04-23 22:40:10 -04:00
|
|
|
- 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
|
2012-08-06 01:09:07 -04:00
|
|
|
- cp db/sample.config.yml db/config.yml
|
2012-12-03 19:12:48 -05:00
|
|
|
services:
|
2013-12-27 13:50:10 -05:00
|
|
|
- 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
|
|
|
|
|