File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -49,15 +49,15 @@ before_script:
49
49
- _JAVA_OPTIONS=
50
50
51
51
script :
52
- - cd android/app && mvn clean test verify checkstyle:check forbiddenapis:check -B
52
+ - mvn -P include- android -pl android/app clean test verify checkstyle:check forbiddenapis:check -B
53
53
54
54
after_success :
55
55
# deploy snapshot artifacts to sonatype and if tagged deploy the release to maven central
56
56
- if [ "$TRAVIS_BRANCH" == "android_test" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
57
- cd android/app && mvn deploy --settings ../../ core/files/settings.xml -DskipTests=true -B;
57
+ mvn -P include- android -pl android /app deploy --settings core/files/settings.xml -DskipTests=true -B;
58
58
elif [ "$TRAVIS_TAG" != "" ]; then
59
59
echo "release to maven central";
60
- cd android/app && mvn -P release --settings ../../ core/files/settings.xml -DskipTests=true -Drevision=$TRAVIS_TAG -B deploy;
60
+ mvn -P release -P include-android -pl android/app --settings core/files/settings.xml -DskipTests=true -Drevision=$TRAVIS_TAG -B deploy;
61
61
else
62
62
echo "Not deploying artifacts for $TRAVIS_BRANCH";
63
63
fi
You can’t perform that action at this time.
0 commit comments