diff --git a/.travis.yml b/.travis.yml index 80b6f4b..b523345 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,5 @@ language: java +install: mvn install -DskipTests=true -Dgpg.skip=true jdk: - openjdk7 - oraclejdk7 diff --git a/README.md b/README.md index db8477e..88e966e 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,19 @@ This is the Socket.IO v1.0 Client Library for Java, which is simply ported from See also: [Engine.IO-client.java](https://github.com/nkzawa/engine.io-client.java) +## Installation +The latest artifact is available on Maven Central. Add the following dependency to your `pom.xml`. + +```xml + + + com.github.nkzawa + socket.io-client + 0.1.0 + + +``` + ## Usage Socket.IO-client.java has almost the same api and features with the original JS client. You use `IO#socket` to initialize `Socket`: