mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
Fix travis build
This commit is contained in:
parent
ab1198a93a
commit
ca511c7ca1
|
@ -21,7 +21,7 @@ branches:
|
|||
|
||||
before_install:
|
||||
- nvm install 7
|
||||
- OLD_VERSION=`mvn help:evaluate -Dexpression=project.version 2>/dev/null | grep -Ev "(^\[|Download\w+:)"`
|
||||
- OLD_VERSION=`mvn help:evaluate -Dexpression=project.version 2>/dev/null | grep -Ev "(^\[|Download)"`
|
||||
- NEW_VERSION=${OLD_VERSION%-SNAPSHOT}-dev-`printf %d $TRAVIS_BUILD_NUMBER`
|
||||
- export NEW_VERSION
|
||||
- echo "Building version $NEW_VERSION"
|
||||
|
@ -60,4 +60,4 @@ after_success: >
|
|||
./update-cli.sh
|
||||
fi
|
||||
after_script:
|
||||
- rm -rf $HOME/.m2/repository/org/teavm
|
||||
- rm -rf $HOME/.m2/repository/org/teavm
|
||||
|
|
Loading…
Reference in New Issue
Block a user