-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
36 lines (36 loc) · 1.3 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
language: android
jdk: oraclejdk8
android:
components:
- platform-tools
- tools
- build-tools-28.0.3
- android-28
- extra-android-m2repository
- extra-google-google_play_services
- extra-google-m2repository
licenses:
- android-sdk-preview-license-c81a61d9
- android-sdk-license-.+
- google-gdk-license-.+
before_install:
- linters/install-linters.sh
- ci/install-protoc.sh
script:
- ci/create-gradle-wrapper-4.6.sh
- sh gradlew reactive-blerpc:assemble reactive-blerpc:test
- sh gradlew swift-reactive-blerpc:assemble swift-reactive-blerpc:test
- ci/generate-reactive-plugin.sh
- ci/generate-swift-reactive-plugin.sh
- sh gradlew assemble testReleaseUnitTest
- reactive-blerpc-test/tests/end-to-end-tests.sh
- swift-reactive-blerpc-test/tests/end-to-end-tests.sh
- linters/run-linters.sh
after_success:
- if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST_BRANCH" == "" ]; then
sh gradlew blerpc:bintrayUpload -PbintrayUser=monnoroch -PbintrayKey="$BINTRAY_API_KEY" -PdryRun=false;
sh gradlew blerpcproto:bintrayUpload -PbintrayUser=monnoroch -PbintrayKey="$BINTRAY_API_KEY" -PdryRun=false;
sh gradlew reactive-blerpc:bintrayUpload -PbintrayUser=monnoroch -PbintrayKey="$BINTRAY_API_KEY" -PdryRun=false;
fi
notifications:
email: false