mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2025-01-23 23:04:50 -08:00
Travis: trying to fix deployment
This commit is contained in:
parent
9d392442d5
commit
e3d95ce64e
|
@ -42,7 +42,6 @@ install:
|
||||||
- npm run build
|
- npm run build
|
||||||
- popd
|
- popd
|
||||||
- rm -rf tools/idea/idea-artifacts/dependencies
|
- rm -rf tools/idea/idea-artifacts/dependencies
|
||||||
- rm -rf $HOME/mvn_repo/org/teavm/idea
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- $MVN_CMD -e test -Dteavm.junit.optimized=false -Dteavm.junit.js.runner=none
|
- $MVN_CMD -e test -Dteavm.junit.optimized=false -Dteavm.junit.js.runner=none
|
||||||
|
@ -59,7 +58,7 @@ script:
|
||||||
- popd
|
- popd
|
||||||
- rm -rf $BASE_PATH/tests/target/js-tests
|
- rm -rf $BASE_PATH/tests/target/js-tests
|
||||||
- rm -rf $BASE_PATH/html4j/target/js-tests
|
- rm -rf $BASE_PATH/html4j/target/js-tests
|
||||||
- du -sh /home/travis/.[!.]* /home/travis/* | sort -h
|
- du -sh $HOME/.[!.]* /home/travis/* | sort -h
|
||||||
- df
|
- df
|
||||||
|
|
||||||
after_success: >
|
after_success: >
|
||||||
|
@ -68,9 +67,10 @@ 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
|
||||||
|
mv -f $HOME/built_artifacts_backup $HOME/mvn_repo/org/teavm
|
||||||
$MVN_CMD deploy -Dteavm.build.all=false -DskipTests --settings travis-settings.xml \
|
$MVN_CMD deploy -Dteavm.build.all=false -DskipTests --settings travis-settings.xml \
|
||||||
-P deploy-to-bintray -P with-idea && \
|
-P deploy-to-bintray -P with-idea -P !download-dependencies \
|
||||||
./upload-files.sh
|
./upload-files.sh
|
||||||
fi
|
fi
|
||||||
before_cache:
|
before_cache:
|
||||||
- rm -rf $HOME/mvn_repo/org/teavm
|
- mv -f $HOME/mvn_repo/org/teavm $HOME/built_artifacts_backup
|
||||||
|
|
Loading…
Reference in New Issue
Block a user