Commit e3600705 authored by Clouard Regis's avatar Clouard Regis
Browse files

Added gitlab-ci

parent 9e6bfd8a
......@@ -13,14 +13,19 @@ stages:
- build
before_script:
- echo "class Secret { static const String key = "123456"; static const String initializationVector = "123456;}"> keys.dart
- echo 'class Secret { static const String key = "123456"; static const String initializationVector = "123456";}'> lib/keys.dart
- flutter pub get
- flutter clean
- flutter --version
flutter_test:
only:
- master
stage: test
script:
- flutter test
- flutter test --coverage
- lcov --list coverage/lcov.info
- genhtml coverage/lcov.info --output=coverage
tags:
- gitlab-runner-ensicaen
......@@ -33,8 +38,5 @@ flutter_build_android:
- flutter clean
script:
- flutter build apk
artifacts:
paths:
- build/app/outputs/apk/release/app-release.apk
tags:
- gitlab-runner-ensicaen
# Application Mobile Vikazimut
[![pipeline status](https://gitlab.ecole.ensicaen.fr/rclouard/vikazimut-flutter/badges/master/pipeline.svg)](https://gitlab.ecole.ensicaen.fr/rclouard/vikazimut-flutter/-/commits/master)
[![coverage report](https://gitlab.ecole.ensicaen.fr/rclouard/vikazimut-flutter/badges/master/coverage.svg)](https://gitlab.ecole.ensicaen.fr/rclouard/vikazimut-flutter/-/commits/master)
## Le projet Vikazimut
Vikazimut est un projet d'étudiants en informatique de l'[ENSICAEN](https://www.ensicaen.fr).
......
......@@ -2,4 +2,11 @@ org.gradle.jvmargs=-Xmx1536M
android.enableR8=true
android.useAndroidX=true
android.enableJetifier=true
android.bundle.enableUncompressedNativeLibs=false
\ No newline at end of file
android.bundle.enableUncompressedNativeLibs=false
systemProp.http.proxyHost=193.49.200.22
systemProp.http.proxyPort=3128
systemProp.http.nonProxyHosts=localhost|127.0.0.1|10.10.1.*
systemProp.https.proxyHost=193.49.200.22
systemProp.https.proxyPort=3128
systemProp.https.nonProxyHosts=localhost|127.0.0.1|10.10.1.*
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment