fix(travis): Run functional tests first, move sleep.
Merge pull request #1554 from vladikoff/flip-travis-tests

fix(travis): Run functional tests first, move sleep.