Trying to get the travis build to pass

This commit is contained in:
jdescottes 2013-08-04 21:37:07 +02:00
parent a16e1bab09
commit 54ea427dce
4 changed files with 17576 additions and 3 deletions

2
.gitignore vendored
View File

@ -13,4 +13,4 @@ npm-debug.log
*.stackdump *.stackdump
# builds # builds
build # build

7
build/piskel-packaged-min.js vendored Normal file

File diff suppressed because one or more lines are too long

17566
build/piskel-packaged.js Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,11 +1,11 @@
casper casper
.start(casper.cli.get('baseUrl')+"?debug") .start(casper.cli.get('baseUrl')+"?pack")
.then(function () { .then(function () {
this.echo(casper.cli.get('baseUrl')+"?pack");
// If there was a JS error after the page load, casper won't perform asserts // If there was a JS error after the page load, casper won't perform asserts
this.test.assertExists('html', 'Casper JS cannot assert DOM elements. A JS error has probably occured.'); this.test.assertExists('html', 'Casper JS cannot assert DOM elements. A JS error has probably occured.');
this.test.assertExists('#drawing-canvas-container canvas', 'Check if drawing canvas element is created'); this.test.assertExists('#drawing-canvas-container canvas', 'Check if drawing canvas element is created');
}) })
.run(function () { .run(function () {
this.test.done(); this.test.done();