Fixed Travis detection