Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bringing travis-ci build script up to date

  • Loading branch information...
commit 92c68086b98297382a91041c322539e7d991fee0 1 parent 366bc12
@shageman authored
Showing with 24 additions and 4 deletions.
  1. +24 −4 build_on_travis.sh
View
28 build_on_travis.sh
@@ -1,13 +1,33 @@
#!/bin/sh
echo "*** Running container app specs"
-bundle exec rake db:migrate db:test:prepare rspec
+bundle exec rake db:migrate db:test:prepare
+rspec spec
result=$?
-echo "*** Running teaser engine specs"
+
cd engines/teaser
+echo "*** Running teaser engine specs"
source "$HOME/.rvm/scripts/rvm"
bundle install
-bundle exec rake db:migrate app:db:test:prepare rspec
+bundle exec rake db:migrate app:db:test:prepare
+rspec spec/models spec/controllers
+result+=$?
+
+echo "*** Running teaser engine request specs"
+rspec spec/requests
+result+=$?
+
+echo "*** Running teaser engine javascript specs"
+bundle exec rake app:jasmine:ci
+result+=$?
+
+
+cd ../..
+cd gems/annoyance
+echo "*** Running annoyance gem specs"
+bundle install
+bundle exec rspec spec
result+=$?
-exit $result
+
+exit $result
Please sign in to comment.
Something went wrong with that request. Please try again.