Skip to content

Commit

Permalink
Add .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JessYanCoding committed Aug 17, 2018
1 parent d405946 commit a1dfcd4
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
language: android
jdk: oraclejdk8
before_install:
- yes | sdkmanager "platforms;android-27"

env:
global:
- ANDROID_API_LEVEL=27
- ANDROID_BUILD_TOOLS_VERSION=27.0.3
- TRAVIS_SECURE_ENV_VARS=true

android:
components:
# The BuildTools version used by your project
- tools
- platform-tools
- build-tools-$ANDROID_BUILD_TOOLS_VERSION
- extra-android-m2repository
- extra-google-android-support

# The SDK version used to compile your project
- android-$ANDROID_API_LEVEL
licenses:
- '.+'

script:
- ./gradlew clean
- ./gradlew assembleDebug

0 comments on commit a1dfcd4

Please sign in to comment.