Fix environment warnings. Test travis script.