Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2f520887 authored by Romain Hunault's avatar Romain Hunault 💻
Browse files

Merge branch 'rhunault-setup-ci' into 'master'

Setup CI

See merge request e/apps/camera!1
parents 330ee672 bd62a01d
Loading
Loading
Loading
Loading
Loading

.gitlab-ci.yml

0 → 100644
+21 −0
Original line number Diff line number Diff line
image: "registry.gitlab.e.foundation:5000/e/apps/docker-android-apps-cicd:latest"

stages:
- build

before_script:
- export GRADLE_USER_HOME=$(pwd)/.gradle
- chmod +x ./gradlew

cache:
  key: ${CI_PROJECT_ID}
  paths:
  - .gradle/

build:
  stage: build
  script:
  - ./gradlew build -x test
  artifacts:
    paths:
    - app/build/outputs/apk
+1 −0
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@ android {

    lintOptions {
        checkReleaseBuilds false
        abortOnError false
    }

    // needed to use android.test package (ActivityInstrumentationTestCase2 etc) when targetting sdk 28 (Android 9) -