mirror of https://github.com/vitalif/phantomjs
parent
ba5998f74e
commit
77b5de1362
|
@ -9,7 +9,9 @@ install:
|
|||
- sudo apt-get -yq install build-essential chrpath libssl-dev libfontconfig1-dev #< Build Dependencies
|
||||
before_script:
|
||||
- chmod +x ./build.sh
|
||||
- chmod +x ./test/run-tests.sh
|
||||
- chmod +x ./test/run-tests-ghostdriver.sh
|
||||
script:
|
||||
- ./build.sh --confirm --silent #< Build
|
||||
- ./test/run-tests.sh #< Test (PhantomJS)
|
||||
- ./test/run-tests-ghostdriver.sh #< Test (GhostDriver / PhantomJSDriver)
|
||||
|
|
|
@ -99,7 +99,6 @@ describe("phantom global object", function() {
|
|||
waits(0);
|
||||
|
||||
runs(function() {
|
||||
console.log(stack);
|
||||
expect(stack[0].file).toEqual(helperFile);
|
||||
expect(stack[0].line).toEqual(2);
|
||||
phantom.onError = phantom.defaultErrorHandler;
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Run tests
|
||||
bin/phantomjs test/run-tests.js
|
||||
|
||||
exit $?
|
Loading…
Reference in New Issue