Skip to content
This repository was archived by the owner on Oct 31, 2025. It is now read-only.

Commit 00e57bc

Browse files
committed
add a travis badge and fix travis build error
1 parent 18ee733 commit 00e57bc

5 files changed

Lines changed: 20 additions & 10 deletions

File tree

.travis.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,17 @@ language: android
33
android:
44
components:
55
# The BuildTools version used by your project
6-
- build-tools-22
6+
- build-tools-22.0.1
77

88
# The SDK version used to compile your project
99
- android-22
1010

11+
# Additional components
12+
- extra-android-m2repository
13+
1114
# command to install dependencies
1215
install:
13-
- pip install sauceclient
14-
- pip install Appium-Python-Client
15-
- pip install pytest
16+
- sudo pip install -r requirements.txt
1617

1718
# command to build and run tests
1819
script:
@@ -24,5 +25,5 @@ addons:
2425

2526
env:
2627
global:
27-
- secure: fJarjAplGGrBQuw8gGiTVnhYK9K1k9g0HBB7OohST9EANHbVUQ/x4umQ2edha1felgleCahGRr4u7Yn0KliLjld4B5cdTdGtDoNy86yiT3nGjJIbgcdPOAuPDZf+1Oy9aWhmVHYmuK26gOBIqOgen5BwOPwvI4mwZePd4DigfkY=
28-
- secure: f/LHDLN6O4ODABk3EHe1X/X7HCBjHZ5QAWkKJVLNZOQCMNLwpMPsHhdSQuqDW/f+rFqjPABuF3JsWaX8jcJqkh8/n9u381AwGxZSY0IDzq2Iluo5UKthoR2E4EekR6vTiJf9mmlWQ1lCG817Jyt+GLgwX1CuWyU9r4LhhBXUOl0=
28+
- secure: A1jbSplRPc7lRcjT6yY3Z33ynAEmiSzub5ADEXys4VtzjhenRCejkYAyLmNLm4ywbWWhmmZqXT70YPJQTBr5tbZlfHx5P2GRU1MtBvcXSUO+5RJ3swc80UOVvllhfHNuiiraqwSNcWl7skPHxDfBPBe8QOLp4A17JpJEJ8nFqpc=
29+
- secure: fFmQjyp/tTloQmWFnNb7CZQsk92kZV7a78J0y0XW1kW+NPauxQ7MHsI9GAsOrEByyGF4xz2eKq37Z+LoMZtvcCgPWz5mt62QFQ2jXDxXckVeYr6JQW6gnXMcCR96V7RYLPHW9HbfOYcchiS2lu5ytogNh3NU35OgAscOTfO0Gtc=

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
DesignOverlay - for developers and designers [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-DesignOverlay-brightgreen.svg?style=flat)](http://android-arsenal.com/details/3/1654)
1+
DesignOverlay - for developers and designers
22
===============
3+
4+
[![Build Status](https://travis-ci.org/Manabu-GT/DesignOverlay-Android.svg?branch=master)](https://travis-ci.org/Manabu-GT/DesignOverlay-Android)
5+
[![Sauce Test Status](https://saucelabs.com/buildstatus/design-overlay)](https://saucelabs.com/u/design-overlay)
6+
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-DesignOverlay-brightgreen.svg?style=flat)](http://android-arsenal.com/details/3/1654)
7+
38
DesignOverlay is an android app which displays a design image with grid lines to facilitate the tedious layout process.
49
The grid is especially useful to align to baseline grids as described in [Android Design Guidelines][1].
510

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ allprojects {
2222
// http://www.gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html
2323
project.ext {
2424
ANDROID_BUILD_SDK_VERSION = 22
25-
ANDROID_BUILD_TOOLS_VERSION = "22"
25+
ANDROID_BUILD_TOOLS_VERSION = "22.0.1"
2626

2727
ANDROID_BUILD_MIN_SDK_VERSION = 14
2828
ANDROID_BUILD_TARGET_SDK_VERSION = 22
2929

3030
// Google Stuffs
31-
supportPackageVersion = "21.0.3"
31+
supportPackageVersion = "22.0.0"
3232

3333
// APT plugin and Android Annotations
3434
daggerVersion = "1.2.1"

requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# requirements.txt for pip install
2+
sauceclient
3+
Appium-Python-Client
4+
pytest

run_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
echo "Uploading debug apk to SauceLabs..."
44

5-
res=`curl -w %{http_code} -u $SAUCE_USERNAME:$SAUCE_ACCESS_KEY -X POST "http://saucelabs.com/rest/v1/storage/$SAUCE_USERNAME/design_overlay.apk?overwrite=true" \
5+
res=`curl -w %{http_code} --output /dev/null -u $SAUCE_USERNAME:$SAUCE_ACCESS_KEY -X POST "http://saucelabs.com/rest/v1/storage/$SAUCE_USERNAME/design_overlay.apk?overwrite=true" \
66
-H "Content-Type: application/octet-stream" --data-binary @app/build/outputs/apk/app-debug.apk`
77

88
if [ $res -eq 200 ]

0 commit comments

Comments
 (0)