-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
207 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
*.keystore | ||
/build | ||
.gradle | ||
/local.properties | ||
.idea | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
language: android | ||
android: | ||
components: | ||
- build-tools-19.1.0 | ||
before_script: | ||
- openssl aes-256-cbc -k "$KEYSTORE_FILE_PASSWORD" -in release.keystore.enc -d -a | ||
-out release.keystore | ||
script: | ||
- "./gradlew build" | ||
- if [ "$TRAVIS_BRANCH" = "develop" ]; then ./gradlew testfairyRelease; fi; | ||
env: | ||
global: | ||
- secure: WR7j7bQVR5IAvn4fR9xT5IyQglUxmmDj3ohzrSVmTwDCuHEo/QuZX5QxpJHIciSNUBDEiAIQYmtvYredIdoPk3W0s8d7PCYhMdiKgojs/dD65BfxiXDlEos7Y/seTO84m4M10MN0nnwTf8owzlO9FMQioLbDFzJUTQU9d3/wdCo= | ||
- secure: Tk776qT+UkyaWF2h3jSSoCLYBKFTekTJLnPwMg+XBj41ChjeUppvjwlYV5uRpRi9s+4CGW/FT1odafofGrJ7TfgKj49C/6DbaNHSCgEdLKvAdn2BjirlaYzJtf7vBy+VD1u7/13m849EO4o16xrWgHzRBJXJ9pZmYeHt5nUGk3I= | ||
- secure: g/LSBmGJMqtgbe+GXZMlAbyMQSkpy7sih7e+3JgfyoyCO84fyos4otZlLgmEwleiYYxBOBAgEBnQfANnbL6cN9YXVowRVSw8bzOr/nqjWfJ7OtWQUOwz6KtKIeOvWAALzivGxU7LCagGuvmpUNKmbrHKzUQFGUxpokGvy66uYh4= | ||
deploy: | ||
provider: releases | ||
skip_cleanup: false | ||
api_key: | ||
secure: FGUpXcIJLqZTKg57W/UqiGuEEykA6yJuUaifxNr0LzA0WhqMvLYJV20p9QtGiS30/qKPC8MqoUjGlwzQpmtwOz5XYcLhxYXTAG42/ZTIwfn1B4mERfGZ0KthWXVfvz+sXUEAM9tM8uWaySOmalZTAQ4cfmGvf1qJubABcDm3VDg= | ||
file: "./app/build/outputs/apk/app-release.apk" | ||
on: | ||
tags: true | ||
all_branches: false | ||
repo: HappyCarl/geotown.android |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,72 @@ | ||
apply plugin: 'android' | ||
apply plugin: 'testfairy' | ||
|
||
|
||
android { | ||
compileSdkVersion 19 | ||
buildToolsVersion "19.0.3" | ||
buildToolsVersion "19.1.0" | ||
|
||
project.ext.vCode = 1 | ||
try { | ||
project.ext.vCode = Integer.valueOf(System.getenv("TRAVIS_BUILD_NUMBER")) | ||
} catch(e) {} | ||
|
||
project.ext.vName = System.getenv("TRAVIS_TAG") | ||
if(!project.ext.vName) { | ||
project.ext.vName = "1.0.0" | ||
} else { | ||
project.ext.vName = project.ext.vName.replace("v", "") | ||
} | ||
|
||
defaultConfig { | ||
minSdkVersion 14 | ||
targetSdkVersion 19 | ||
versionCode 1 | ||
versionName "1.0" | ||
versionCode project.ext.vCode | ||
versionName project.ext.vName | ||
} | ||
|
||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_7 | ||
targetCompatibility JavaVersion.VERSION_1_7 | ||
} | ||
|
||
signingConfigs { | ||
release { | ||
storeFile file("../release.keystore") | ||
storePassword System.getenv("KEYSTORE_PASSWORD") | ||
keyAlias System.getenv("KEYSTORE_ALIAS") | ||
keyPassword System.getenv("KEYSTORE_PASSWORD") | ||
} | ||
} | ||
|
||
buildTypes { | ||
release { | ||
runProguard false | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' | ||
signingConfig signingConfigs.release | ||
} | ||
debug { | ||
signingConfig signingConfigs.release | ||
} | ||
} | ||
|
||
testfairyConfig { | ||
apiKey "$System.env.TESTFAIRY_KEY" | ||
metrics "cpu,memory,network,logcat" | ||
video "wifi" | ||
videoRate "0.5" | ||
videoQuality "low" | ||
maxDuration "15m" | ||
notify true | ||
maxDuration "1h" | ||
autoUpdate true | ||
} | ||
} | ||
|
||
dependencies { | ||
compile fileTree(dir: 'libs', include: ['*.jar']) | ||
compile 'com.appspot.drive_log:geotown:v1-1.18.0-rc-SNAPSHOT' | ||
compile 'com.readystatesoftware.systembartint:systembartint:1.0.3' | ||
compile 'com.squareup:otto:1.3.5' | ||
compile 'com.jakewharton:butterknife:5.1.0' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<color name="actionbar_background_color">#FF1919</color> | ||
<color name="actionbar_color">#ffffff</color> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<module external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="" external.system.module.version="unspecified" type="JAVA_MODULE" version="4"> | ||
<component name="NewModuleRootManager" inherit-compiler-output="true"> | ||
<exclude-output /> | ||
<content url="file://$MODULE_DIR$"> | ||
<excludeFolder url="file://$MODULE_DIR$/.gradle" /> | ||
</content> | ||
<orderEntry type="jdk" jdkName="JDK" jdkType="JavaSDK" /> | ||
<orderEntry type="sourceFolder" forTests="false" /> | ||
</component> | ||
</module> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
U2FsdGVkX1+IiBNbkpHx27dH4YVG5XZVEvZAnD2F5O0mu6s5kPfjIOQmNWqlQ9xC | ||
KDOLuoZp66dHpFjYbI7++3f0Mh7guR63NBZIi6+wFt0VNcJyN0pyimC4kFHbZfv6 | ||
oxk57VlNVGxlfEdzIu0YiuqpB63mi9DnjodZ6wRq//9kV18Ap68h2DYVDtJqX/ne | ||
gUQl1pKBjJEvhuzkO0m9tNYxurp1FDsqvxBdLdKb5iLPJeOUpw/erwlCK01LGKs1 | ||
ngbsAr+rEAMRYO4Iq43d7JdChI6tPiRaIJt1WbZKqp4S2vkTpZ+/lMdCpqP+750u | ||
iOn1HiZ2HN/fSmkLhmGDf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