forked from mozilla-mobile/FirefoxLite
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuddybuild_postbuild.sh
More file actions
executable file
·24 lines (18 loc) · 968 Bytes
/
buddybuild_postbuild.sh
File metadata and controls
executable file
·24 lines (18 loc) · 968 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env bash
set -e # Exit (and fail) immediately if any command in this scriptfails
# Check that our APK files are not bigger than they should be
python tools/metrics/apk_size.py
# buddybuild modifies our buildscripts and sources (this is partly to enable
# their SDK, and partly to allow selecting flavours in the BuddyBuild UI).
# We don't know where the Buddybuild SDK lives, which causes gradle builds
# to be broken (due to the SDK dependency injected into FocusApplication),
# it's easiest just to revert to a clean source state here:
git reset --hard
# buddybuild doesn't seem to offer any direct way of running findbugs.
# findbugs is run as part of |gradle build| and |gradle| check, but those
# aren't run directly in buddybuild.
./gradlew findbugs
# skip jacocoTestReport because we don't have adjust token and build fail on release variant
#./gradlew jacocoTestReport
# skip CODECOV
#bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN