Showing
4 changed files
with
18 additions
and
9 deletions
| @@ -7,8 +7,8 @@ matrix: | @@ -7,8 +7,8 @@ matrix: | ||
| 7 | dist: trusty | 7 | dist: trusty |
| 8 | language: generic | 8 | language: generic |
| 9 | os: linux | 9 | os: linux |
| 10 | - env: Android | ||
| 11 | - # Run integration tests on Android | 10 | + env: |
| 11 | + - platform=Android | ||
| 12 | before_install: | 12 | before_install: |
| 13 | - sudo apt-get install -y --no-install-recommends lib32stdc++6 libstdc++6 > /dev/null | 13 | - sudo apt-get install -y --no-install-recommends lib32stdc++6 libstdc++6 > /dev/null |
| 14 | # Install the Android SDK Dependency. | 14 | # Install the Android SDK Dependency. |
| @@ -56,22 +56,26 @@ matrix: | @@ -56,22 +56,26 @@ matrix: | ||
| 56 | - <<: *integration-test-stage | 56 | - <<: *integration-test-stage |
| 57 | os: osx | 57 | os: osx |
| 58 | osx_image: xcode10.2 | 58 | osx_image: xcode10.2 |
| 59 | - env: iOS | 59 | + env: |
| 60 | + - platform=iOS | ||
| 60 | # Run integration tests on ios | 61 | # Run integration tests on ios |
| 61 | before_install: | 62 | before_install: |
| 62 | - open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app | 63 | - open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app |
| 63 | - export HOMEBREW_NO_AUTO_UPDATE=1 | 64 | - export HOMEBREW_NO_AUTO_UPDATE=1 |
| 65 | + | ||
| 64 | - brew install libimobiledevice | 66 | - brew install libimobiledevice |
| 65 | - brew install ideviceinstaller | 67 | - brew install ideviceinstaller |
| 66 | - brew install ios-deploy | 68 | - brew install ios-deploy |
| 67 | - brew install cocoapods || echo 'ignore exit(1)' | 69 | - brew install cocoapods || echo 'ignore exit(1)' |
| 68 | - brew link --overwrite cocoapods | 70 | - brew link --overwrite cocoapods |
| 69 | 71 | ||
| 70 | - - wget --quiet --output-document=flutter.zip https://storage.googleapis.com/flutter_infra/releases/dev/macos/flutter_macos_v1.7.11-dev.zip && unzip -qq flutter.zip > /dev/null && rm flutter.zip | 72 | + - git clone -b master https://github.com/flutter/flutter.git |
| 73 | + - ./flutter/bin/flutter --version | ||
| 74 | + | ||
| 71 | - export PATH="$PATH":"$HOME/.pub-cache/bin" | 75 | - export PATH="$PATH":"$HOME/.pub-cache/bin" |
| 72 | - export PATH=$PWD/flutter/bin:$PWD/flutter/bin/cache/dart-sdk/bin:$PATH | 76 | - export PATH=$PWD/flutter/bin:$PWD/flutter/bin/cache/dart-sdk/bin:$PATH |
| 77 | + | ||
| 73 | - flutter doctor -v | 78 | - flutter doctor -v |
| 74 | 79 | ||
| 75 | - # cd to example | ||
| 76 | - cd example | 80 | - cd example |
| 77 | - script: travis_retry flutter driver test_driver/app.dart | ||
| 81 | + script: flutter driver test_driver/app.dart |
| 1 | # Wakelock [](https://pub.dev/packages/wakelock) [](https://travis-ci.com/creativecreatorormaybenot/wakelock) | 1 | # Wakelock [](https://pub.dev/packages/wakelock) [](https://travis-ci.com/creativecreatorormaybenot/wakelock) |
| 2 | 2 | ||
| 3 | -This plugin allows you to enable and toggle the Android and iOS screen wakelock, which prevents the screen from turning off automatically. | 3 | +This Flutter plugin allows you to enable and toggle the Android and iOS screen wakelock, which prevents the screen from turning off automatically. |
| 4 | Essentially, this allows you to keep the device awake, i.e. prevent the phone or tablet from sleeping. | 4 | Essentially, this allows you to keep the device awake, i.e. prevent the phone or tablet from sleeping. |
| 5 | 5 | ||
| 6 | ## Usage | 6 | ## Usage |
| 1 | name: wakelock | 1 | name: wakelock |
| 2 | -description: This Flutter plugin allows you to keep Android and iOS devices awake, i.e. prevent them from sleeping by toggling the wakelock of the phone or tablet on or off. | ||
| 3 | -version: 0.1.2+1 | 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+2 | ||
| 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 |
-
Please register or login to post a comment