You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cartodb/jenkings.sh

11 lines
307 B

#!/bin/bash
export DISPLAY=:99
sudo /etc/init.d/xvfb start
bundle install --without development staging production
cd ~/.jenkins/server/jobs/cartodb/workspace
/usr/bin/env RAILS_ENV=test bundle exec rake db:drop db:create db:migrate
bundle exec rake
RESULT=$?
sudo /etc/init.d/xvfb stop
exit $RESULT