Last active
December 1, 2020 22:45
-
-
Save Zfinix/835f2c0f1a92d297a0b6fd88acff6321 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Use the latest 2.1 version of CircleCI pipeline process engine. See: https://circleci.com/docs/2.0/configuration-reference | |
| version: 2.1 | |
| # Orchestrate or schedule a set of jobs | |
| jobs: | |
| build: | |
| # Declare a dependency on the cirrusci/flutter docker image | |
| docker: | |
| - image: cirrusci/flutter:v1.5.8 | |
| # Flutter channel to run with | |
| branches: | |
| only: master | |
| # Run the job in its own container with different tasks as setps | |
| steps: | |
| - checkout | |
| - run: | |
| name: Run Flutter doctor | |
| command: flutter doctor | |
| - run: | |
| name: Run the application tests | |
| command: flutter test | |
| - run: | |
| name: Build the Android version | |
| command: flutter build apk | |
| - store_artifacts: | |
| path: build/app/outputs/apk/release/app-release.apk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment