upload_native: final check

native-compilation-test
Kirill Vainer 8 years ago
parent dd812b17c5
commit f60ffcc967
  1. 2
      jme3-bullet-native/src/native/cpp/jmePhysicsSpace.cpp
  2. 6
      private/upload_native.sh

@ -100,7 +100,7 @@ void jmePhysicsSpace::createPhysicsSpace(jfloat minX, jfloat minY, jfloat minZ,
dynamicsWorld->setWorldUserInfo(this);
broadphase->getOverlappingPairCache()->setInternalGhostPairCallback(new btGhostPairCallback());
dynamicsWorld->setGravity(btVector3(0, -9.81f, 0));
dynamicsWorld->setGravity(btVector3(0, -9.85f, 0));
struct jmeFilterCallback : public btOverlapFilterCallback {
// return true when pairs need collision

@ -1,7 +1,7 @@
#!/bin/bash
set -euo pipefail
# NATIVE_CHANGES="$(git diff-tree --name-only "$TRAVIS_COMMIT" -- jme3-bullet-native/)"
# if [ "$NATIVE_CHANGES" != "" ]; then
NATIVE_CHANGES="$(git diff-tree --name-only "$TRAVIS_COMMIT" -- jme3-bullet-native/)"
if [ "$NATIVE_CHANGES" != "" ]; then
git config --global user.email "travis-ci"
git config --global user.name "travis-ci"
./gradlew -PbuildNativeProjects=true :jme3-bullet-native:assemble
@ -13,4 +13,4 @@ set -euo pipefail
git commit -v -m "[ci skip] bullet: update $TRAVIS_OS_NAME natives"
git pull -q --rebase
git push git@github.com:jMonkeyEngine/jmonkeyengine.git
# fi
fi

Loading…
Cancel
Save