add travis to antipolymorphism branch

This is the travis config to build the package automatically. No worries if you don't want CI or already have it, but I couldn't find it and I hit build errors (at least on the master branch.)