Permalink
Browse files

Jenkins: build native code before running tests

  • Loading branch information...
1 parent 913e35e commit f99a1b36d57ad9d6e545328c3bc8fdc8108ed97c Noah Gibbs committed Dec 19, 2012
Showing with 6 additions and 0 deletions.
  1. +3 −0 ci_jobs/hastur-integrations/run.sh
  2. +3 −0 ci_jobs/hastur-units/run.sh
@@ -22,12 +22,15 @@ rvm list | grep jruby-1.7.0 || rvm install jruby-1.7.0
rvm --create use jruby-1.7.0@hastur-server
gem uninstall bundler -v 1.1.1
gem install --no-rdoc --no-ri bundler
+rm Gemfile.lock # Workaround for uncommon Bundler bug - https://github.com/carlhuda/bundler/issues/2043
bundle update # Update to latest versions since this is a gem
#bundle install
rm hastur-server-*.gem
gem build hastur-server.gemspec
gem install hastur-server-*.gem
+rake native_jar
+
gem env
echo "------------ Bundler-ized environment -----"
bundle exec gem env
@@ -12,4 +12,7 @@ gem uninstall bundler -v 1.1.1
gem install --no-rdoc --no-ri bundler -v 1.1.0
bundle update # Update to latest versions since this is a gem
#bundle install
+
+rake native_jar
+
COVERAGE=true bundle exec rake test:units:full --trace

0 comments on commit f99a1b3

Please sign in to comment.