From e5a308fd0735db7c8a66b763fddaf7ab9a877a56 Mon Sep 17 00:00:00 2001 From: Trumeet Date: Mon, 31 Oct 2022 13:57:32 -0700 Subject: Sanitize for public release --- .travis.yml | 44 -------------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 .travis.yml (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 3e82c54..0000000 --- a/.travis.yml +++ /dev/null @@ -1,44 +0,0 @@ -jdk: oraclejdk8 -language: android -android: - components: - - build-tools-28.0.3 - - android-28 -before_cache: -- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock -- rm -fr $HOME/.gradle/caches/*/plugin-resolution/ -cache: - directories: - - "$HOME/.gradle/caches/" - - "$HOME/.gradle/wrapper/" -script: -- "./gradlew exportVersion --daemon" -- "./gradlew :app:assembleRelease --daemon --parallel" -before_install: -- yes | sdkmanager "platforms;android-28" -- wget https://github.com/anggrayudi/android-hidden-api/files/2709802/android.zip -- rm /usr/local/android-sdk/platforms/android-28/android.jar -- mv ./android.zip /usr/local/android-sdk/platforms/android-28/android.jar -- chmod a+x gradlew -- openssl aes-256-cbc -K $encrypted_8cd0a575b07e_key -iv $encrypted_8cd0a575b07e_iv - -in secrets.tar.enc -out ./secrets.tar -d -- tar xvf secrets.tar -before_deploy: -- export VERSION=$(cat version.txt) -- export VERSION_CODE=$(cat version_code.txt) -- git tag $VERSION_CODE -- mv "app/build/outputs/apk/release/app-release.apk" "app/build/outputs/apk/release/app-${VERSION}.apk" -- mv "app/build/outputs/mapping/release/mapping.txt" "app/build/outputs/mapping/release/mapping-${VERSION}.txt" -deploy: - name: ${VERSION} - body: Snapshot version automatically generated by Travis CI. Please be cautious to experience due to potential bugs. - prerelease: true - provider: releases - skip_cleanup: true - api_key: - secure: XJm52+zcna49O1IgDQrNARMIEAOSTbfKBzUSQkRlN/52ZDrUd/FFRwWUa2MmhojT50bQMTHKOqg8HLjvXKjk6ADUnvt9FNEZI9AIU9cHMzADrJ0NrWTLPPqfHD0N+mPKzuRdFO6kYZe6ALKFzeXEGf/6/v2mfid2XIXgfGrCu2bd+Q5WZCxhzoHbIkPZJin/XlF1l3FPhipHs7J2OaoKKzQMAaCLtklrx2TfvraKgXH7dGqvYVvCVHs8HqesjIXnuFtGtVx8FIvTq5/N6gnO5IYTitGgSzoK+cpdUDmAKL/PvNOSu90StS9B4Y3H6oIp/LV+ZcSj+8Z1s44VHKBMlOK6BJ/YSYv0uT4bD2yKUDTSCYXfqk9K4s0mBVePkHIt8kMHNvmF/K/8+kzvP4tT7zcu55OTahQ/rudizOFNLJOPhyJt3U4X4zAHjkjL6CDR3GRqr7oBxZSZiSlcnVdHHOF2jty+jaOhx+5PyY+bqf2fOJxR2ezRz1mmF/3qQXW6fV5LZ+Ep3Xtc7ABjeCPQC3HpC5bsOMmSOjhwwU1SBo9SyiIHyeSE5HMpmEAfUnvbNoBjr6V5AywdJLGK8fVE9nDOJTJuNvpn5wDzpUJemV8pjYQ6odkysM4f+3MA4As+ApAfAryuv0k9EQvNizTpU0DDfq5RqOszTMCnhrmo6nI= - file: - - app/build/outputs/apk/release/app-${VERSION}.apk - - app/build/outputs/mapping/release/mapping-${VERSION}.txt - on: - repo: Trumeet/WorkMode -- cgit v1.2.3