jenkings.sh to run ci tests

1.0
Alvaro Bautista 13 years ago
parent b6bda1867b
commit 691e7e3e92

@ -0,0 +1,10 @@
#!/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
Loading…
Cancel
Save