Doc js files from jasmine.github.io should be part of CI build

[Finish #50572569]
This commit is contained in:
Gregg Van Hove and Tim Jarratt
2013-10-04 12:10:38 -07:00
parent 07e7ad2314
commit adde1b4a5b
3 changed files with 7 additions and 1 deletions

View File

@@ -44,3 +44,6 @@ matrix:
- env:
- JASMINE_BROWSER="phantomjs"
- USE_SAUCE=false
- env:
- USE_SAUCE=false
- TEST_COMMAND="bash travis-docs-script.sh"

View File

@@ -9,7 +9,7 @@ load "jasmine/tasks/jasmine.rake"
namespace :jasmine do
task :set_env do
ENV['JASMINE_CONFIG_PATH'] = 'spec/support/jasmine.yml'
ENV['JASMINE_CONFIG_PATH'] ||= 'spec/support/jasmine.yml'
end
end

3
travis-docs-script.sh Normal file
View File

@@ -0,0 +1,3 @@
git clone https://github.com/jasmine/jasmine.github.io.git
bundle exec rake jasmine:ci JASMINE_CONFIG_PATH=jasmine.github.io/2.0/spec/support/jasmine.yml