-
Notifications
You must be signed in to change notification settings - Fork 77
/
.travis.yml
28 lines (24 loc) · 933 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# This is part of a custom mono repo setup I have.
# The folder structure is basically divided into an `app` and a `packages` folders.
# Codecov logging to codecov.io should be improved. Right now, it overwrites the previous one.
# Everything works except for the last stage, the Android Integration Tests.
# Working to make the Android tests work seems like a nightmare because of different
# versions incompatibility, something Apple does much better.
language: dart
env:
global:
- DARTSDK=./flutter/bin/cache/dart-sdk/bin
- DARTFMT=$DARTSDK/dartfmt
- FLUTTER=./flutter/bin/flutter
- FLUTTER_GITHUB=https://github.com/flutter/flutter.git
- CODECOV=https://codecov.io/bash
- PACKAGES=packages
install:
- git clone $FLUTTER_GITHUB -b stable --depth 1
- $FLUTTER doctor
- $FLUTTER pub get
jobs:
include:
- stage: Formatting
script:
- $DARTFMT -n $PACKAGES --set-exit-if-changed