Store/.travis.yml

39 lines
4 KiB
YAML
Raw Normal View History

2017-01-05 12:49:26 +00:00
language: android
jdk:
- oraclejdk8
android:
components:
2017-01-05 13:19:14 +00:00
- tools
2017-01-05 12:49:26 +00:00
- platform-tools
- build-tools-29.0.3
- android-29
2017-01-05 12:49:26 +00:00
- extra-android-m2repository
licenses:
2019-12-10 17:43:40 +00:00
- android-sdk-license-.+
2017-01-05 12:49:26 +00:00
script:
Yigit/move fetcher factories to fetcher (#168) (#181) * Move Fetcher factories into companion Fetcher factories were global methods, which made them hard to discover since IDE cannot easily auto-complete. This PR moves them into the companion of Fetcher while also making Fetcher a real interface instead of a typealias. Even though it is a bit more code for the developer, now they can easily discover how to create a Fetcher by typing Fetcher. Fixes: #167 * make rx methods start w/ from too for consistency * Rename fether factories to be more clear, hopefully :/ * remove fetch method, use invoke instead * Make Fetcher.from the one that receives a suspend fun. Create Fetcher.fromFlow for the flowing version. Rename both SourceOfTruth builder methods to . Rely on param names to disambiguate * use .of instead, this seems better to me. We should probably get rid of StoreBuilder.from and make it Store.builder() * fix jvm name for SourceOfTruth.of with flow function * fix RxSourceOfTruth name to match original class * specify bounds for FactoryFetcher * updates per PR review * update graph per SoT rename * update rxjava3 APIs as well These appeared after i rebased, missed them completely. Also fixed some tests, appearantly IJ parameter name refactor does not always work * supress wrong unnecessary cast warning without this, multicaster cannot resolve to the base StoreResponse type * upgade gradle, try to fix build by disabling caching * split subscribers * resubscribe Co-authored-by: miken <miken@dropbox.com> Co-authored-by: miken <miken@dropbox.com>
2020-06-19 10:00:50 +00:00
- "./gradlew clean cleanBuildCache check --stacktrace"
after_success:
- tools/release/deploy_snapshot.sh
- bash <(curl -s https://codecov.io/bash)
after_script:
- tools/release/deploy_cleanup.sh
before_install:
- yes | sdkmanager "platforms;android-29"
2017-01-05 12:49:26 +00:00
branches:
except:
- gh-pages
notifications:
email: false
sudo: false
cache:
directories:
2019-12-10 17:43:40 +00:00
- "$HOME/.m2"
- "$HOME/.gradle"
env:
global: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