UNPKG

thinky-rest

Version:

Create REST resources and controllers with thinky and Express or Restify

29 lines (22 loc) 637 B
language: node_js node_js: - '4' - '6' sudo: true cache: directories: - node_modules env: - - USE_RESTIFY=1 - USE_THINKAGAIN=1 - USE_RESTIFY=1 USE_THINKAGAIN=1 before_script: - 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 script: - make test