aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorbcorso <bcorso@google.com>2020-06-10 12:29:20 -0700
committerChris Povirk <beigetangerine@gmail.com>2020-06-12 13:49:18 -0400
commit5ed8544a80517bc63e0faf6c23885f338f320ade (patch)
treec1c25fbdbe753885dd2d88f3572225040534e3e7 /util
parent2c8d0d1dd5cb46db077a67f49c831f79aabdc2ae (diff)
downloaddagger2-5ed8544a80517bc63e0faf6c23885f338f320ade.tar.gz
Add back maven example and add build to Travis
This CL also updates `.travis.yml` to run `run-local-tests.sh` to make it more in line with what we do internally. RELNOTES=Add back maven example ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=315743889
Diffstat (limited to 'util')
-rwxr-xr-xutil/run-local-tests.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/run-local-tests.sh b/util/run-local-tests.sh
index 8ea5baed1..9adef2940 100755
--- a/util/run-local-tests.sh
+++ b/util/run-local-tests.sh
@@ -10,6 +10,8 @@ bazel test $TEST_PARAMS //...
# Install into local maven.
util/install-local-snapshot.sh
+pushd examples/maven && mvn compile && popd
+
# Also run the gradle examples on the local maven snapshots.
readonly _SIMPLE_EXAMPLE_DIR=java/dagger/example/gradle/simple
readonly _ANDROID_EXAMPLE_DIR=java/dagger/example/gradle/android/simple