-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build Java sources during integration tests (#176)
- Add Bazel configuration for examples - Add dependencies for gson / android support annotations - Fix small errors in generated code - Update CI to build with the Android SDK and Bazel - Fix issue with visibilty of ADT classes, potentially move to inner - Update Travis Scripts (latest android build tools / platform tools) - Add Makefile command to unify test targets for CI - Update integration testing script to run tests if `$ANDROID_HOME` is - Add flow to brew packages, build / test objc example on macOS only defined - Use bazelisk to manage bazel version, update scripts to use it
- Loading branch information
1 parent
47ad603
commit efe3c84
Showing
12 changed files
with
525 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.23.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,29 @@ | ||
language: generic | ||
osx_image: xcode10 | ||
android: | ||
components: | ||
- tools | ||
- platform-tools | ||
- build-tools-28.0.3 | ||
- android-28 | ||
|
||
addons: | ||
homebrew: | ||
packages: | ||
- swiftlint | ||
- flow | ||
jobs: | ||
include: | ||
- stage: "lint" | ||
script: "make lint" | ||
os: osx | ||
- stage: "test" | ||
script: "make test" | ||
script: "make ci_tests" | ||
os: osx | ||
- stage: "test linux" | ||
script: "make test" | ||
script: "make ci_tests" | ||
language: android | ||
sudo: required | ||
dist: trusty | ||
install: | ||
- eval "$(curl -sL https://swiftenv.fuller.li/install.sh)" | ||
os: linux | ||
- stage: "integration" | ||
script: "make integration_test output_stability_test" | ||
os: osx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
android_library( | ||
name = "JavaExample", | ||
srcs = glob(["Sources/*.java"], exclude=["Sources/Everything.java"]), | ||
deps = [ | ||
"@gson_maven//jar", | ||
"@android_support_annotations//jar", | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.