Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.
Mircea-Tiberiu MATEI edited this page May 1, 2019 · 1 revision

The CI pipeline

Introduction

The CI pipeline is wired to Travis. The setup was completed using mono_repo package

Prerequisites

On the development machine verify if you followed the steps from Prerequisites

Project setup

For each project inside the repo, a mono_pkg.yaml file must be placed inside the project folder.

  1. Add mono_pkg.yaml to each package folder
  2. Run mono_repo check from root folder
mono_repo check
  1. Run mono_repo travis from root_folder.
mono_repo travis

The command will generate two files:

  • ./tool/travis.sh
  • .travis.yml
  1. Edit .travis.yml and add sudo
sudo: required
  1. Add permission to travis
git update-index --add --chmod=+x ./tool/android-wait-for-emulator.sh
git update-index --add --chmod=+x ./tool/travis.sh
git update-index --add --chmod=+x ./tool/travis_flutter.sh
git commit -m "#72. Adding permisssion to travis scripts"

Clone this wiki locally