mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
speed up travis runs.
This commit is contained in:
parent
eeb56d7bf6
commit
1664306db3
1 changed files with 14 additions and 6 deletions
20
.travis.yml
20
.travis.yml
|
@ -1,3 +1,4 @@
|
|||
sudo: false
|
||||
language: ruby
|
||||
rvm:
|
||||
- 1.9.3
|
||||
|
@ -10,16 +11,23 @@ script:
|
|||
gemfile:
|
||||
- Gemfile
|
||||
before_install:
|
||||
- gem install bundler -v 1.14.6
|
||||
# install Neo4j locally:
|
||||
- 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
|
||||
- neo4j-community-2.3.3/bin/neo4j start
|
||||
- | # 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
|
||||
|
||||
|
|
Loading…
Reference in a new issue