Commit dcbbe71e14c3861da45c5ac0039e364b8698772d

Authored by Andrew Kane
1 parent a7e26c22

Updated RethinkDB install

Showing 2 changed files with 2 additions and 2 deletions   Show diff stats
.travis.yml
... ... @@ -6,7 +6,7 @@ services:
6 6 - mongodb
7 7 before_install:
8 8 - wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.3.2.deb && sudo dpkg -i elasticsearch-1.3.2.deb && sudo service elasticsearch restart
9   - - script ./test/nobrainer.sh
  9 + - ./test/nobrainer.sh
10 10 script: bundle exec rake test
11 11 before_script:
12 12 - psql -c 'create database searchkick_test;' -U postgres
... ...
test/nobrainer.sh
1 1 #!/usr/bin/env sh
2 2  
3   -if [ ! -z "$NOBRAINER" ]; then
  3 +if [ -n "$NOBRAINER" ]; then
4 4 source /etc/lsb-release && echo "deb http://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list
5 5 wget -qO- http://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add -
6 6 sudo apt-get update -q
... ...