choose publish target based on version suffix
also run tests in Scala 2.10.x