Skip to content

Commit

Permalink
Add Jasmine tests to CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
tjgrathwell committed Sep 12, 2013
1 parent 73b27a7 commit 6c72d99
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ rvm:
- 2.0.0
bundler_args: "--without development"
before_script:
- phantomjs --version
- ci/install_phantomjs
- "export PATH=`pwd`/phantomjs/bin:$PATH"
- phantomjs --version
- "./config/before-travis.sh"
script: "bundle exec rake"
script: "bundle exec rake && bundle exec rake jasmine:phantom:ci"

notifications:
email: false
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ end

group :test, :development do
gem 'jasmine'
gem 'jasmine-phantom'
gem 'sqlite3'
gem 'rspec-rails'
gem 'awesome_print'
Expand Down
5 changes: 5 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ GEM
rspec (>= 1.3.1)
selenium-webdriver (>= 0.1.3)
jasmine-core (1.3.1)
jasmine-phantom (0.0.9)
jasmine (>= 1.2.0)
posix-spawn
journey (1.0.4)
jquery-datatables-rails (1.11.2)
jquery-rails
Expand Down Expand Up @@ -182,6 +185,7 @@ GEM
faye-websocket (>= 0.4.4, < 0.5.0)
http_parser.rb (~> 0.5.3)
polyglot (0.3.3)
posix-spawn (0.3.6)
pry (0.9.12.2)
coderay (~> 1.0.5)
method_source (~> 0.8)
Expand Down Expand Up @@ -325,6 +329,7 @@ DEPENDENCIES
guard-rspec
handlebars_assets
jasmine
jasmine-phantom
jquery-datatables-rails
jquery-rails
jquery-ui-rails
Expand Down

0 comments on commit 6c72d99

Please sign in to comment.