Browse Source

add travis test

Shinsuke Sugaya 8 years ago
parent
commit
8c270d8823
1 changed files with 22 additions and 0 deletions
  1. 22 0
      .travis.yml

+ 22 - 0
.travis.yml

@@ -0,0 +1,22 @@
+sudo: required
+
+language: java
+
+jdk:
+  - oraclejdk8
+
+cache:
+  directories:
+    - $HOME/.m2/repository
+
+install:
+  - mvn package
+  - unzip target/releases/fess-*.zip
+
+before_script:
+  - java -version
+  - ./fess-*/bin/fess &
+
+script:
+  - mvn test -P integrationTests -Dtest.fess.url="http://127.0.0.1:8080" -Dtest.es.url="http://127.0.0.1:9201"
+