Conditionally run test when not on Travis.