Added travis-ci support to project - Updated deprecated function

This requires a .travis.yml file. Project file modifications to the
schemes to disable auto create and mark the schemes used in travis as
shared.  Changed function to remove deprecation warning.