Update Travis CI to build both nightlies and releases