chiark / gitweb /
Add Liberapay support
[fdroidserver.git] / jenkins-test
index 181da6def5fb26cf815bf957916fe2cc58b5cd1f..74fbba53a6d7bfb8468fa0ef4b643cdaf766c957 100755 (executable)
@@ -23,17 +23,19 @@ set -x
 # set up Android SDK to use the Debian packages in stretch
 export ANDROID_HOME=/usr/lib/android-sdk
 
+rm -rf $WORKSPACE/.testfiles
 cd tests
 ./run-tests $WORKSPACE
 
 # this is set up and managed by jenkins-build-all
 cd $WORKSPACE/fdroiddata
 
-test -e config.py || ../fdroid init --verbose
-test -e keystore.jks || ../fdroid update --create-key
+rm -f config.py keystore.jks
+../fdroid init --verbose
+../fdroid update
 
 export GNUPGHOME=$WORKSPACE/tests/gnupghome
-echo "build_server_always = True" > config.py
+echo "build_server_always = True" >> config.py
 echo "gpghome = '$GNUPGHOME'" >> config.py
 echo "gpgkey = 'CE71F7FB'" >> config.py
 chmod 0600 config.py