Skip to content

Commit

Permalink
Setup Travis CI for google/physical-web
Browse files Browse the repository at this point in the history
  • Loading branch information
asagrawal committed Oct 29, 2014
1 parent 6939903 commit 64d87a8
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
language: android
jdk: oraclejdk7

android:
components:
# The BuildTools version used by your project
- build-tools-21.0.2

# The SDK version used to compile your project
- android-21

# Use extra android repo locations to find the appcompat-v7:21.0.0 support library
- extra

#specify the build script to run. currently in the root directory along with .travis.yml file
script: "./travis/build.sh"
1 change: 1 addition & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ signed for them. Congratulations!

alexyoung
arkpog
asagrawal
daviddoran
dermike
devashishmamgain
Expand Down
10 changes: 10 additions & 0 deletions travis/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#/usr/bin/env/sh

#browse to the android project
cd android/PhysicalWeb/

#grant file execute permissions
chmod +x ./gradlew

#build a specific gradle task
./gradlew assembleRelease

0 comments on commit 64d87a8

Please sign in to comment.