add travis configuration

As usual, its best to enable Optim.jl on Travis prior to merging this pull request