forked from brython-dev/brython
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tests] brython-dev#234 - Update .travis.yml and QUnit test page afte…
…r success of PhantomJS Cookbook build p.s. QUnit .js and .css files will be downloaded to .qunit/ folder
- Loading branch information
Showing
2 changed files
with
14 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
language: javascript | ||
|
||
before_install: | ||
# - mkdir qunit | ||
# - wget -O qunit/qunit-1.18.0.css http://code.jquery.com/qunit/qunit-1.18.0.css | ||
# - wget -O qunit/qunit-1.18.0.js http://code.jquery.com/qunit/qunit-1.18.0.js | ||
- mkdir qunit | ||
- wget -O qunit/qunit-1.18.0.css http://code.jquery.com/qunit/qunit-1.18.0.css | ||
- wget -O qunit/qunit-1.18.0.js http://code.jquery.com/qunit/qunit-1.18.0.js | ||
- git clone http://github.com/ariya/phantomjs | ||
- git clone https://github.com/founddrama/phantomjs-cookbook | ||
script: | ||
- cd phantomjs-cookbook | ||
- phantomjs ../phantomjs/examples/run-qunit.js chapter04/recipe09-runner.html | ||
- phantomjs phantomjs/examples/run-qunit.js www/tests/run_qunit.html | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,22 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<!-- Online install --> | ||
<link rel="stylesheet" type="text/css" href="//code.jquery.com/qunit/qunit-1.18.0.css" /> | ||
<!-- Local install for Travis-CI --> | ||
<link rel="stylesheet" type="text/css" href="../../qunit/qunit-1.18.0.css" /> | ||
</head> | ||
<body> | ||
<div id="qunit"></div> | ||
<div id="qunit-fixture"></div> | ||
<!-- Online install --> | ||
<script src="//code.jquery.com/qunit/qunit-1.18.0.js"></script> | ||
<!-- Local install for Travis-CI --> | ||
<script src="../../qunit/qunit-1.18.0.js"></script> | ||
<script languaje="javascript"> | ||
test("Initial test - always fail", function( assert ) { | ||
assert.equal(1, 0); | ||
}) | ||
</script> | ||
</head> | ||
<body> | ||
<div id="qunit"></div> | ||
</body> | ||
</html> |