update image tag regexp; add test automation

- the image tags can have `-` and `_`, so the regex was updated to reflect that
- added automated testing on travis!