Setup Travis build

This commit is contained in:
Davis W. Frank & Rajan Agaskar
2012-11-28 14:27:07 -08:00
parent b94522193c
commit 4c083856be
6 changed files with 30 additions and 7 deletions

3
.gitmodules vendored
View File

@@ -1,3 +0,0 @@
[submodule "pages"]
path = pages
url = git@github.com:pivotal/jasmine.git

1
.rspec
View File

@@ -1,2 +1 @@
--color
--format Fuubar

9
.travis.yml Normal file
View File

@@ -0,0 +1,9 @@
# before_script:
# - "sh -e /etc/init.d/xvfb start"
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"#
script: "DISPLAY=:99.0 bundle exec rake jasmine_core_spec"
rvm:
- "1.9.3"

View File

@@ -1,4 +1,5 @@
<a name="README">[Jasmine](http://pivotal.github.com/jasmine/)</a>
<a name="README">[Jasmine](http://pivotal.github.com/jasmine/)</a> <a title="Build at Travis CI" href="http://travis-ci.org/#!/pivotal/jasmine"><img src="https://secure.travis-ci.org/pivotal/jasmine.png" /></a>
=======
**A JavaScript Testing Framework**

1
pages

Submodule pages deleted from 00ba05c213

View File

@@ -1,10 +1,28 @@
jasmine_dir:
- 'src'
#This 'magic' inclusion order allows the travis build to pass.
#TODO: search for the correct files to include to prevent
jasmine_files:
- 'core/base.js'
- 'core/util.js'
- 'core/Reporter.js'
#end of known dependencies
- 'core/Env.js'
- 'core/Block.js'
- 'core/JsApiReporter.js'
- 'core/Matchers.js'
- 'core/mock-timeout.js'
- 'core/MultiReporter.js'
- 'core/NestedResults.js'
- 'core/PrettyPrinter.js'
- 'core/Queue.js'
- 'core/Runner.js'
- 'core/Spec.js'
- 'core/Suite.js'
- 'core/WaitsBlock.js'
- 'core/WaitsForBlock.js'
- 'html/HtmlReporterHelpers.js'
- 'html/HtmlReporter.js'
- '**/*.js'
jasmine_css_files:
- 'html/jasmine.css'
@@ -13,7 +31,7 @@ stylesheets:
helpers:
- 'helpers/**/*.js'
spec_files:
- '**/*[sS]pec.js'
- '**/*[Ss]pec.js'
src_dir:
spec_dir:
- 'spec'