Fix travis build

This commit is contained in:
Alexey Andreev 2018-01-02 21:21:06 +03:00
parent ab1198a93a
commit ca511c7ca1

View File

@ -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