Attempt to make the test web server not block the execution of the tests.
Different attempt at running test web server in the background.
Attempt to make Travis-CI find its phantomJS binary.
Another try at finding Travis-CI's phantomjs binary.
You guessed it. Another try at locating Travis-CI's phantomjs binary.
Adjust some timings and where validations happen try to make browser tests pass on Travis-CI.