mirror of
https://github.com/imcarlost/Friendlists.git
synced 2026-04-10 02:46:54 -04:00
fix output path
fix travis fix travis fix travis fix travis fix travis fix travis fix travis fix travis fix travis fix travis
This commit is contained in:
29
.travis.yml
29
.travis.yml
@@ -18,19 +18,11 @@ android:
|
|||||||
- platform-tools
|
- platform-tools
|
||||||
- build-tools-29.0.3
|
- build-tools-29.0.3
|
||||||
- android-29
|
- android-29
|
||||||
- sys-img-x86-android-26
|
|
||||||
licenses:
|
licenses:
|
||||||
- 'android-sdk-preview-license-52d11cd2'
|
- 'android-sdk-preview-license-52d11cd2'
|
||||||
- 'android-sdk-license-.+'
|
- 'android-sdk-license-.+'
|
||||||
- 'google-gdk-license-.+'
|
- 'google-gdk-license-.+'
|
||||||
if: "(branch = master AND type = push) OR (head_branch != master AND type = pull_request)"
|
if: "(branch = master AND type = push) OR (head_branch != master AND type = pull_request)"
|
||||||
before_install:
|
|
||||||
- git fetch origin head_branch
|
|
||||||
- export FILES_CHANGED="$(git --no-pager diff --name-only --diff-filter AM FETCH_HEAD | egrep .java$ )"
|
|
||||||
- echo no | android create avd --force -n test -t android-25 --abi armeabi-v7a -c 100M
|
|
||||||
- emulator -avd test -no-audio -no-window &
|
|
||||||
- android-wait-for-emulator
|
|
||||||
- adb shell input keyevent 82 &
|
|
||||||
install:
|
install:
|
||||||
- "./travis/install.sh"
|
- "./travis/install.sh"
|
||||||
stages:
|
stages:
|
||||||
@@ -41,23 +33,6 @@ jobs:
|
|||||||
include:
|
include:
|
||||||
- stage: Building Project
|
- stage: Building Project
|
||||||
script: "./gradlew check"
|
script: "./gradlew check"
|
||||||
env: JOB=Checking Build
|
env: JOB=Build
|
||||||
- script: "./gradlew detekt"
|
- script: "./gradlew detekt"
|
||||||
env: JOB=Running Linter
|
env: JOB=Linter
|
||||||
- script: "./gradlew mokaRun --profile"
|
|
||||||
env: JOB=Running UI Tests
|
|
||||||
- script: "./gradlew uploadToSaucelabs"
|
|
||||||
env:
|
|
||||||
- JOB=Uploading APK to Saucylabs
|
|
||||||
- STG_API_URL=$STG_SERVER_URL
|
|
||||||
if: branch = master AND type = push
|
|
||||||
after_success:
|
|
||||||
- bundle exec danger
|
|
||||||
- reports-publisher
|
|
||||||
after_failure:
|
|
||||||
- bundle exec danger
|
|
||||||
- reports-publisher
|
|
||||||
- "./gradlew mokaDisconnect"
|
|
||||||
notifications:
|
|
||||||
webhooks:
|
|
||||||
- https://devhose.spt-engprod-pro.schibsted.io/devhose/travis
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
package com.hako.friendlists
|
|
||||||
|
|
||||||
//Hola
|
|
||||||
@@ -31,7 +31,7 @@ detekt {
|
|||||||
reports {
|
reports {
|
||||||
html {
|
html {
|
||||||
enabled = true
|
enabled = true
|
||||||
destination = file("$rootDir/build/reports/detekt")
|
destination = file("$rootDir/build/reports/detekt/report.html")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user