Merge branch 'feature/se.manyver' into 'master'

Manyverse: Fix building on the build server

See merge request fdroid/fdroiddata!3742
This commit is contained in:
Pierre Rudloff 2018-10-05 20:58:11 +00:00
commit d998933524

View file

@ -35,12 +35,14 @@ Builds:
commit: v0.18.10-02.beta commit: v0.18.10-02.beta
subdir: android/app subdir: android/app
sudo: |- sudo: |-
apt-get install -y g++ && \
curl -Lo node.tar.xz https://nodejs.org/dist/v8.11.4/node-v8.11.4-linux-x64.tar.xz && \ curl -Lo node.tar.xz https://nodejs.org/dist/v8.11.4/node-v8.11.4-linux-x64.tar.xz && \
echo "85ea7cbb5bf624e130585bfe3946e99c85ce5cb84c2aee474038bdbe912f908c node.tar.xz" | sha256sum -c - && \ echo "85ea7cbb5bf624e130585bfe3946e99c85ce5cb84c2aee474038bdbe912f908c node.tar.xz" | sha256sum -c - && \
tar xJf node.tar.xz && \ tar xJf node.tar.xz && \
cp -a node-v8.11.4-linux-x64/. /usr/local/ && \ cp -a node-v8.11.4-linux-x64/. /usr/local/ && \
npm install -g react-native-cli npm install -g react-native-cli
init: |- init: |-
sed -i -e '/appium/d' ../../package.json && \
npm install && \ npm install && \
truncate -s 0 ../../node_modules/react-native/local-cli/server/util/external/xsel truncate -s 0 ../../node_modules/react-native/local-cli/server/util/external/xsel
gradle: gradle:
@ -50,13 +52,7 @@ Builds:
rm: rm:
- node_modules/react-native/ReactAndroid/src/main/third-party/java/infer-annotations/infer-annotations-4.0.jar - node_modules/react-native/ReactAndroid/src/main/third-party/java/infer-annotations/infer-annotations-4.0.jar
- node_modules/react-native/ReactAndroid/src/main/third-party/java/buck-android-support/buck-android-support.jar - node_modules/react-native/ReactAndroid/src/main/third-party/java/buck-android-support/buck-android-support.jar
- node_modules/appium/node_modules/appium-adb/jars/
- node_modules/appium/node_modules/appium-uiautomator/test/fixtures/*.jar
- node_modules/appium/node_modules/appium-android-bootstrap/bootstrap/bin/*.jar
- node_modules/appium/node_modules/appium-selendroid-driver/selendroid/download/*.jar
- node_modules/*/build/Release/*.node - node_modules/*/build/Release/*.node
- node_modules/appium/node_modules/heapdump/build/Release/*.node
- node_modules/appium/node_modules/heapdump/build/Release/obj.target/*.node
- node_modules/sodium-native/prebuilds/ - node_modules/sodium-native/prebuilds/
- node_modules/react-native-android-wifi/Examples/ - node_modules/react-native-android-wifi/Examples/
scanignore: scanignore:
@ -71,9 +67,10 @@ Builds:
npm run build-android-assets npm run build-android-assets
ndk: r17b ndk: r17b
MaintainerNotes: scanignore is used to allow the "node_modules/react-native/android" MaintainerNotes: |-
local Maven repository which contains the prebuilt react-native library which scanignore is used to allow the "node_modules/react-native/android" local Maven repository which contains the prebuilt react-native library which we get from npm.
we get from npm.
appium is removed because it fails to build on the build server due to some missing dev dependencies and we don't need it anyway.
AutoUpdateMode: Version v%v AutoUpdateMode: Version v%v
UpdateCheckMode: Tags UpdateCheckMode: Tags