Update the Pirk .travis.yml to run faster through use of the Docker infra and only run tests once - closes apache/incubator-pirk#118
diff --git a/.travis.yml b/.travis.yml
index cc1896f..5ae6c9a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,21 +2,10 @@
os: linux
jdk: oraclejdk8
-# before_install is used to provide a workaround for buffer overflow issues with OpenJDK versions of java as per:
-# https://github.com/travis-ci/travis-ci/issues/5227#issuecomment-165135711
-before_install:
- - sudo hostname "$(hostname | cut -c1-63)"
- - sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts | sudo tee /etc/hosts
-
- - wget http://apache.claz.org/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
- - tar zxvf apache-maven-3.3.9-bin.tar.gz
- - chmod +x apache-maven-3.3.9/bin/mvn
- - export M2_HOME=$PWD/apache-maven-3.3.9
- - export PATH=$PWD/apache-maven-3.3.9/bin:${PATH}
- - hash -r
+sudo: false
cache:
directories:
- $HOME/.m2
-install: mvn clean install
+script: mvn clean install