forked from phoedos/pmd
4d16c8d2d2
See also http://stackoverflow.com/questions/26082444/how-to-work-around-travis-cis-4mb-output-limit/26082445#26082445
16 lines
430 B
Bash
16 lines
430 B
Bash
#!/bin/bash
|
|
set -ev
|
|
|
|
# remember the current directory
|
|
SOURCE_HOME=$PWD
|
|
|
|
cd $HOME
|
|
wget -q http://apache.claz.org/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
|
|
tar zxf apache-maven-3.3.9-bin.tar.gz
|
|
chmod +x apache-maven-3.3.9/bin/mvn
|
|
|
|
echo "MAVEN_OPTS='-Xms1g -Xmx1g'" > .mavenrc
|
|
mkdir -p .m2
|
|
cp $SOURCE_HOME/.travis/travis-toolchains.xml .m2/toolchains.xml
|
|
cp $SOURCE_HOME/.travis/travis-settings.xml .m2/settings.xml
|