creativecreatorormaybenot

0.1.2+5

Showing 1 changed file with 31 additions and 10 deletions
1 matrix: 1 matrix:
2 include: 2 include:
3 - - stage: Format Checking 3 + - stage: Format checking
  4 +
  5 + name: Dart code
4 6
5 os: linux 7 os: linux
6 dist: trusty 8 dist: trusty
7 language: generic 9 language: generic
8 10
9 - name: Dart code  
10 -  
11 - before_install:  
12 - - cd ..  
13 install: 11 install:
14 - git clone -b master https://github.com/flutter/flutter.git 12 - git clone -b master https://github.com/flutter/flutter.git
15 - ./flutter/bin/flutter --version 13 - ./flutter/bin/flutter --version
16 before_script: 14 before_script:
17 - export PATH="$PATH":"$HOME/.pub-cache/bin" 15 - export PATH="$PATH":"$HOME/.pub-cache/bin"
18 - export PATH=$PWD/flutter/bin:$PWD/flutter/bin/cache/dart-sdk/bin:$PATH 16 - export PATH=$PWD/flutter/bin:$PWD/flutter/bin/cache/dart-sdk/bin:$PATH
19 -  
20 - - cd wakelock  
21 script: 17 script:
22 - flutter format lib example --set-exit-if-changed --fix 18 - flutter format lib example --set-exit-if-changed --fix
23 19
24 - - stage: Code Analysis 20 + - stage: Code analysis
25 21
26 name: Dart code (plugin) 22 name: Dart code (plugin)
27 23
  24 + os: linux
  25 + dist: trusty
  26 + language: generic
  27 +
  28 + before_install:
  29 + - cd ..
  30 + install:
  31 + - git clone -b master https://github.com/flutter/flutter.git
  32 + - ./flutter/bin/flutter --version
  33 + before_script:
  34 + - export PATH="$PATH":"$HOME/.pub-cache/bin"
  35 + - export PATH=$PWD/flutter/bin:$PWD/flutter/bin/cache/dart-sdk/bin:$PATH
  36 +
  37 + - cd wakelock
28 script: 38 script:
29 - flutter analyze 39 - flutter analyze
30 40
31 - name: Dart code (example) 41 - name: Dart code (example)
32 42
33 - script: 43 + os: linux
  44 + dist: trusty
  45 + language: generic
  46 +
  47 + install:
  48 + - git clone -b master https://github.com/flutter/flutter.git
  49 + - ./flutter/bin/flutter --version
  50 + before_script:
  51 + - export PATH="$PATH":"$HOME/.pub-cache/bin"
  52 + - export PATH=$PWD/flutter/bin:$PWD/flutter/bin/cache/dart-sdk/bin:$PATH
  53 +
34 - cd example 54 - cd example
  55 + script:
35 - flutter analyze 56 - flutter analyze
36 57
37 - - stage: Integration Testing 58 + - stage: Integration testing
38 59
39 name: iOS 60 name: iOS
40 61