Add packages in samples
Add Java 8 in Travis CI