update travis to run on release and nightly builds

This fixes an issue in #16 which was reverted in #17.