We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8ce585c + 291c980 commit 5f52c94Copy full SHA for 5f52c94
.travis.yml
@@ -0,0 +1,22 @@
1
+language: android
2
+jdk: oraclejdk8
3
+sudo: false
4
+
5
+android:
6
+ components:
7
+ - tools
8
+ - platform-tools
9
+ - build-tools-26.0.2
10
+ - android-26
11
12
+ licenses:
13
+ - 'android-sdk-license-.+'
14
15
+ notifications:
16
+ email: false
17
18
+install:
19
+ - ./gradlew build
20
21
+script:
22
+ - ./ciPublish.sh
ciPublish.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+set -ev
+if [ "$CI" == "true" ] && [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
+ echo "Running a non-PR build on master - publish artifact"
+ ./gradlew publishApkRelease
+else
+ echo "The artifact will not be published"
+fi
0 commit comments