Fix deprecation warnings; require 0.3; fix travis