Fix tests on travis-ci.org

Fix tests on travis-ci.org.

1. Fix broken tests of ruby-runtime/jpi
1. Disable broken tests of cli
1. Enable Maven build on travis-ci.org