diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 65895099f..85cfff9d0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,10 +8,11 @@ cache: build: script: - export GRADLE_USER_HOME=$PWD/.gradle + - ./gradlew assemble -PdisablePreDex # always report on lint errors to the build log - sed -i -e 's,textReport .*,textReport true,' app/build.gradle - # 'build' means assemble and check - - ./gradlew build -PdisablePreDex || { + - ./gradlew lint -PdisablePreDex + - ./gradlew test -PdisablePreDex || { for log in app/build/reports/*ests/*/*ml; do echo "read $log here:"; cat "$log" | curl --silent -F 'clbin=<-' https://clbin.com;