creativecreatorormaybenot

0.1.2+5

1 -os: linux  
2 -dist: trusty  
3 -sudo: true  
4 -language: generic  
5 -  
6 matrix: 1 matrix:
7 include: 2 include:
8 - - stage: Check Format 3 + - stage: Format Checking
  4 +
  5 + os: linux
  6 + dist: trusty
  7 + language: generic
9 8
10 name: Dart code 9 name: Dart code
11 10
@@ -18,30 +17,17 @@ matrix: @@ -18,30 +17,17 @@ matrix:
18 script: 17 script:
19 - flutter format lib example --set-exit-if-changed --fix 18 - flutter format lib example --set-exit-if-changed --fix
20 19
21 - - stage: Code analysis 20 + - stage: Code Analysis
22 21
23 name: Dart code (plugin) 22 name: Dart code (plugin)
24 23
25 - install:  
26 - - git clone -b master https://github.com/flutter/flutter.git  
27 - - ./flutter/bin/flutter --version  
28 - before_script:  
29 - - export PATH="$PATH":"$HOME/.pub-cache/bin"  
30 - - export PATH=$PWD/flutter/bin:$PWD/flutter/bin/cache/dart-sdk/bin:$PATH  
31 script: 24 script:
32 - flutter analyze 25 - flutter analyze
33 26
34 - name: Dart code (example) 27 - name: Dart code (example)
35 28
36 - install:  
37 - - git clone -b master https://github.com/flutter/flutter.git  
38 - - ./flutter/bin/flutter --version  
39 - before_script:  
40 - - export PATH="$PATH":"$HOME/.pub-cache/bin"  
41 - - export PATH=$PWD/flutter/bin:$PWD/flutter/bin/cache/dart-sdk/bin:$PATH  
42 -  
43 - - cd example  
44 script: 29 script:
  30 + - cd example
45 - flutter analyze 31 - flutter analyze
46 32
47 - stage: Integration Testing 33 - stage: Integration Testing
@@ -77,6 +63,7 @@ matrix: @@ -77,6 +63,7 @@ matrix:
77 63
78 os: linux 64 os: linux
79 dist: trusty 65 dist: trusty
  66 + sudo: true
80 language: android 67 language: android
81 68
82 android: 69 android:
  1 +## 0.1.2+5
  2 +
  3 +* Expanded continuous integration to include format checking and code analysis.
  4 +
1 ## 0.1.2+4 5 ## 0.1.2+4
2 6
3 * Updated the example's README. 7 * Updated the example's README.
@@ -4,4 +4,4 @@ void main() async { @@ -4,4 +4,4 @@ void main() async {
4 final FlutterDriver driver = await FlutterDriver.connect(); 4 final FlutterDriver driver = await FlutterDriver.connect();
5 await driver.requestData(null, timeout: const Duration(minutes: 1)); 5 await driver.requestData(null, timeout: const Duration(minutes: 1));
6 driver.close(); 6 driver.close();
7 -}  
  7 +}
@@ -12,7 +12,7 @@ import 'package:flutter/services.dart'; @@ -12,7 +12,7 @@ import 'package:flutter/services.dart';
12 /// The [Wakelock.isEnabled] function allows you to retrieve the current wakelock 12 /// The [Wakelock.isEnabled] function allows you to retrieve the current wakelock
13 /// status from Android or iOS. 13 /// status from Android or iOS.
14 class Wakelock { 14 class Wakelock {
15 - static const MethodChannel _channel = const MethodChannel('wakelock'); 15 + static const MethodChannel _channel = MethodChannel('wakelock');
16 16
17 /// This can simply be called using `Wakelock.enable()` and does not return anything. 17 /// This can simply be called using `Wakelock.enable()` and does not return anything.
18 /// You can await the [Future] to wait for the operation to complete. 18 /// You can await the [Future] to wait for the operation to complete.
1 name: wakelock 1 name: wakelock
2 description: This plugin allows you to keep Android and iOS devices awake, i.e. prevent the screen from sleeping by toggling the wakelock of the phone or tablet on or off. 2 description: This plugin allows you to keep Android and iOS devices awake, i.e. prevent the screen from sleeping by toggling the wakelock of the phone or tablet on or off.
3 -version: 0.1.2+4 3 +version: 0.1.2+5
4 author: creativecreatorormaybenot <19204050+creativecreatorormaybenot@users.noreply.github.com> 4 author: creativecreatorormaybenot <19204050+creativecreatorormaybenot@users.noreply.github.com>
5 homepage: https://github.com/creativecreatorormaybenot/wakelock 5 homepage: https://github.com/creativecreatorormaybenot/wakelock
6 6