creativecreatorormaybenot

0.1.2+5

Showing 1 changed file with 31 additions and 10 deletions
matrix:
include:
- stage: Format Checking
- stage: Format checking
name: Dart code
os: linux
dist: trusty
language: generic
name: Dart code
before_install:
- cd ..
install:
- git clone -b master https://github.com/flutter/flutter.git
- ./flutter/bin/flutter --version
before_script:
- export PATH="$PATH":"$HOME/.pub-cache/bin"
- export PATH=$PWD/flutter/bin:$PWD/flutter/bin/cache/dart-sdk/bin:$PATH
- cd wakelock
script:
- flutter format lib example --set-exit-if-changed --fix
- stage: Code Analysis
- stage: Code analysis
name: Dart code (plugin)
os: linux
dist: trusty
language: generic
before_install:
- cd ..
install:
- git clone -b master https://github.com/flutter/flutter.git
- ./flutter/bin/flutter --version
before_script:
- export PATH="$PATH":"$HOME/.pub-cache/bin"
- export PATH=$PWD/flutter/bin:$PWD/flutter/bin/cache/dart-sdk/bin:$PATH
- cd wakelock
script:
- flutter analyze
- name: Dart code (example)
script:
os: linux
dist: trusty
language: generic
install:
- git clone -b master https://github.com/flutter/flutter.git
- ./flutter/bin/flutter --version
before_script:
- export PATH="$PATH":"$HOME/.pub-cache/bin"
- export PATH=$PWD/flutter/bin:$PWD/flutter/bin/cache/dart-sdk/bin:$PATH
- cd example
script:
- flutter analyze
- stage: Integration Testing
- stage: Integration testing
name: iOS
... ...