Showing
1 changed file
with
4 additions
and
0 deletions
| @@ -8,12 +8,16 @@ matrix: | @@ -8,12 +8,16 @@ matrix: | ||
| 8 | 8 | ||
| 9 | name: Dart code | 9 | name: Dart code |
| 10 | 10 | ||
| 11 | + before_install: | ||
| 12 | + - cd .. | ||
| 11 | install: | 13 | install: |
| 12 | - git clone -b master https://github.com/flutter/flutter.git | 14 | - git clone -b master https://github.com/flutter/flutter.git |
| 13 | - ./flutter/bin/flutter --version | 15 | - ./flutter/bin/flutter --version |
| 14 | before_script: | 16 | before_script: |
| 15 | - export PATH="$PATH":"$HOME/.pub-cache/bin" | 17 | - export PATH="$PATH":"$HOME/.pub-cache/bin" |
| 16 | - export PATH=$PWD/flutter/bin:$PWD/flutter/bin/cache/dart-sdk/bin:$PATH | 18 | - export PATH=$PWD/flutter/bin:$PWD/flutter/bin/cache/dart-sdk/bin:$PATH |
| 19 | + | ||
| 20 | + - cd wakelock | ||
| 17 | script: | 21 | script: |
| 18 | - flutter format lib example --set-exit-if-changed --fix | 22 | - flutter format lib example --set-exit-if-changed --fix |
| 19 | 23 |
-
Please register or login to post a comment