Replace the travis build with snap ci