Add jasmine setup.
parent
d601b91fd6
commit
4bd79a4c13
|
@ -16,7 +16,7 @@ before_install:
|
|||
- git config --global user.name "Dist Zilla Plugin TravisCI"
|
||||
- git config --global user.email $HOSTNAME":not-for-mail@travis-ci.org"
|
||||
install:
|
||||
- npm install -g uglify-js handlebars
|
||||
- npm install -g uglify-js handlebars jasmine
|
||||
- cpanm --quiet --notest Dist::Zilla
|
||||
- dzil authordeps | grep -ve '^\W' | xargs -n 5 -P 10 cpanm --quiet --notest --mirror http://www.cpan.org/ --mirror http://duckpan.org
|
||||
- dzil listdeps | grep -ve '^\W' | cpanm --quiet --notest --mirror http://www.cpan.org/ --mirror http://duckpan.org
|
||||
|
@ -24,4 +24,5 @@ language: perl
|
|||
perl:
|
||||
- 5.16
|
||||
script:
|
||||
- jasmine
|
||||
- prove -lr -j1 t
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
GLOBAL.DDH = {};
|
||||
|
||||
describe("Conversions", function() {
|
||||
|
||||
it("should be able to add two numbers", function() {
|
||||
expect(true).toEqual(false);
|
||||
});
|
||||
|
||||
it("should be able to subtract two numbers", function() {
|
||||
expect(true).toEqual(true);
|
||||
});
|
||||
|
||||
});
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"spec_dir": "spec",
|
||||
"spec_files": [
|
||||
"**/*[sS]pec.js"
|
||||
],
|
||||
"helpers": [
|
||||
"helpers/**/*.js"
|
||||
],
|
||||
"stopSpecOnExpectationFailure": false,
|
||||
"random": false
|
||||
}
|
Loading…
Reference in New Issue