Update travis.yml to specify envs and allow_failures

Update travis.yml to specify envs and allow_failures.
After this PR, travis test will pass.