Skip to content

Commit

Permalink
Ignore ember-extension-support phantom crashes
Browse files Browse the repository at this point in the history
  • Loading branch information
chancancode committed Jan 31, 2016
1 parent a0b7b68 commit 512521a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ install:
after_success:
- "./bin/publish_builds"

after_failure:
after_script:
- "cd ./phantomjs/phantomjs-`phantomjs --version`-linux-x86_64-symbols"
- >
for i in /tmp/*.dmp; do
Expand Down
8 changes: 7 additions & 1 deletion bin/run-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,13 @@ function runInPhantom(url, retries, resolve, reject) {
runInPhantom(url, retries - 1, resolve, reject);
} else {
console.log(chalk.red('Giving up! (╯°□°)╯︵ ┻━┻'));
reject(result);

if (url.indexOf('ember-extension-support') > -1) {
console.log(chalk.yellow('This might be a known issue with PhantomJS 1.9.8, skipping for now'));
resolve(result);
} else {
reject(result);
}
}
} else {
reject(result);
Expand Down

0 comments on commit 512521a

Please sign in to comment.