Skip to content

Run tests with phantomJS on Travis CI #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jan 22, 2014
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Run tests with phantomJS via Travis CI
  • Loading branch information
snaterlicious committed Jan 22, 2014
commit fff2b11c21461229161434f923a3c0d02aba3cb1
37 changes: 0 additions & 37 deletions build/travis/before_script.sh

This file was deleted.

4 changes: 2 additions & 2 deletions build/travis/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

set -x

cd ../phase3/tests/phpunit
cd tests

php phpunit.php -c ../../extensions/DataValuesJavascript/phpunit.xml.dist
phantomjs runTests.phantom.js
12 changes: 0 additions & 12 deletions phpunit.bootstrap.php

This file was deleted.

20 changes: 0 additions & 20 deletions phpunit.xml.dist

This file was deleted.

2 changes: 1 addition & 1 deletion tests/src/dataValues.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ define( DEPS, function( dv, $, QUnit ) {
function( assert ) {
var dvs = dv.getDataValues();

assert.ok( $.isArray( dvs ), 'Returns an array' );
assert.ok( false, 'Returns an array' );

for ( var i = 0, s = dvs.length; i < s; i++ ) {
assert.ok(
Expand Down