Commit ff1db59c by Maurits van Beusekom Committed by GitHub

Merge pull request #19 from BaseflowIT/feature/analyze_task

Add analyze task to build configuration
parents 55cb8660 8012453b
matrix: matrix:
include: include:
# Job 1) Run analyzer
- os: linux
env:
- SHARD=Analyze
sudo: false
addons:
apt:
# Flutter depends on /usr/lib/x86_64-linux-gnu/libstdc++.so.6 version GLIBCXX_3.4.18
sources:
- ubuntu-toolchain-r-test # if we don't specify this, the libstdc++6 we get is the wrong version
packages:
- libstdc++6
- fonts-droid
before_script:
- git clone https://github.com/flutter/flutter.git $HOME/flutter
- export PATH=$HOME/flutter/bin:$HOME/flutter/bin/cache/dart-sdk/bin:$PATH
- flutter doctor
script:
- flutter analyze
# Job 2) Build the Android axample application (.apk)
- os: linux - os: linux
env: env:
- SHARD="Build example apks" - SHARD="Build example apks"
...@@ -21,7 +41,7 @@ matrix: ...@@ -21,7 +41,7 @@ matrix:
script: script:
- cd ./example - cd ./example
- flutter build apk - flutter build apk
# Job 2) Build example IPAs # Job 3) Build the iOS example Applications (.ipa)
- os: osx - os: osx
env: env:
- SHARD="Build example ipas" - SHARD="Build example ipas"
...@@ -35,4 +55,4 @@ matrix: ...@@ -35,4 +55,4 @@ matrix:
- flutter build ios --no-codesign - flutter build ios --no-codesign
cache: cache:
directories: directories:
- $HOME/.pub-cache - $HOME/.pub-cache
\ No newline at end of file
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