mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2025-01-03 05:44:10 -08:00
Less output from Maven. Delete TeaVM artifacts from local repository before caching
This commit is contained in:
parent
16ea944a87
commit
eff86f6239
13
.travis.yml
13
.travis.yml
|
@ -19,7 +19,7 @@ branches:
|
||||||
- /^dev-.+/
|
- /^dev-.+/
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- export MVN_CMD="mvn -Dmaven.repo.local=$HOME/mvn_repo"
|
- export MVN_CMD="mvn -Dmaven.repo.local=$HOME/mvn_repo -B"
|
||||||
- nvm install 7
|
- nvm install 7
|
||||||
- OLD_VERSION=`$MVN_CMD help:evaluate -Dexpression=project.version 2>/dev/null | grep -Ev "(^\[|Download)"`
|
- OLD_VERSION=`$MVN_CMD help:evaluate -Dexpression=project.version 2>/dev/null | grep -Ev "(^\[|Download)"`
|
||||||
- BASE_VERSION=${OLD_VERSION%-SNAPSHOT}
|
- BASE_VERSION=${OLD_VERSION%-SNAPSHOT}
|
||||||
|
@ -35,7 +35,7 @@ before_install:
|
||||||
- rm -rf $HOME/.m2
|
- rm -rf $HOME/.m2
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- $MVN_CMD install -Dteavm.build.all=false -P with-idea -P with-eclipse -P with-cli -DskipTests=true -Dmaven.javadoc.skip=true -B -V
|
- $MVN_CMD install -Dteavm.build.all=false -P with-idea -P with-eclipse -P with-cli -DskipTests=true -Dmaven.javadoc.skip=true -V
|
||||||
- pushd tests/src/test/js
|
- pushd tests/src/test/js
|
||||||
- npm config set prefix=$HOME/.node_modules
|
- npm config set prefix=$HOME/.node_modules
|
||||||
- npm install
|
- npm install
|
||||||
|
@ -68,8 +68,9 @@ after_success: >
|
||||||
export TEAVM_FTP_HOST
|
export TEAVM_FTP_HOST
|
||||||
export TEAVM_FTP_LOGIN
|
export TEAVM_FTP_LOGIN
|
||||||
export TEAVM_FTP_PASSWORD
|
export TEAVM_FTP_PASSWORD
|
||||||
$MVN_CMD deploy -Dteavm.build.all=false -DskipTests --settings travis-settings.xml -P deploy-to-bintray -P with-idea && \
|
$MVN_CMD deploy -Dteavm.build.all=false -DskipTests --settings travis-settings.xml \
|
||||||
./upload-files.sh
|
-P deploy-to-bintray-P with-idea && \
|
||||||
|
./upload-files.sh
|
||||||
fi
|
fi
|
||||||
after_script:
|
before_cache:
|
||||||
- rm -rf $HOME/.m2/repository/org/teavm
|
- rm -rf $HOME/mvn_repo/org/teavm
|
||||||
|
|
3
pom.xml
3
pom.xml
|
@ -227,6 +227,9 @@
|
||||||
<goal>jar</goal>
|
<goal>jar</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<phase>post-integration-test</phase>
|
<phase>post-integration-test</phase>
|
||||||
|
<configuration>
|
||||||
|
<quiet>true</quiet>
|
||||||
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
|
|
@ -49,6 +49,7 @@
|
||||||
<item>clean</item>
|
<item>clean</item>
|
||||||
<item>package</item>
|
<item>package</item>
|
||||||
<item>-Dmaven.repo.local=${settings.localRepository}</item>
|
<item>-Dmaven.repo.local=${settings.localRepository}</item>
|
||||||
|
<item>-B</item>
|
||||||
</arguments>
|
</arguments>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
|
|
|
@ -59,6 +59,7 @@
|
||||||
<item>-Didea.version=${idea.version}</item>
|
<item>-Didea.version=${idea.version}</item>
|
||||||
<item>-Dteavm.version=${project.version}</item>
|
<item>-Dteavm.version=${project.version}</item>
|
||||||
<item>-Dmaven.repo.local=${settings.localRepository}</item>
|
<item>-Dmaven.repo.local=${settings.localRepository}</item>
|
||||||
|
<item>-B</item>
|
||||||
</arguments>
|
</arguments>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user