Files
runelite/travis/build.sh
Tomas Slusny 3479ea3f30 Fix runelite-plugin-archetype
- Use "install" instead of "verify" so archetype test can pick up the
latest RuneLite version
- Remove "clean" from goals.txt

Fixes #364

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-01-12 20:29:06 +01:00

13 lines
510 B
Bash
Executable File

#!/bin/bash
PROJECT_VERSION=`mvn -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive exec:exec`
# Don't deploy pull requests (there are no secrets, anyway)
# And don't deploy releases, they are already deployed by the updater before this,
# and are signed.
if [[ "${TRAVIS_PULL_REQUEST}" == "false" && $PROJECT_VERSION == *"-SNAPSHOT" && "$TRAVIS_BRANCH" == "master" ]]; then
mvn clean deploy --settings travis/settings.xml
else
mvn clean install --settings travis/settings.xml
fi