Skip to content

Instantly share code, notes, and snippets.

@dented
Created November 18, 2016 03:17
Show Gist options
  • Select an option

  • Save dented/d9e9849c972ba7b1cb2864e927fd8923 to your computer and use it in GitHub Desktop.

Select an option

Save dented/d9e9849c972ba7b1cb2864e927fd8923 to your computer and use it in GitHub Desktop.
RethinkDB for circle ci
machine:
ruby:
version: 2.2.3
general:
branches:
only:
- master
- develop
dependencies:
pre:
- source /etc/lsb-release && echo "deb http://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list
- wget -qO- http://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add -
- sudo apt-get update
- sudo apt-get install rethinkdb
- sudo cp /etc/rethinkdb/default.conf.sample /etc/rethinkdb/instances.d/instance1.conf
- sudo /etc/init.d/rethinkdb restart
test:
override:
- rspec spec/controllers/
checkout:
post:
- mv config/settings/test.rb.example config/settings/application.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment