Showing
3 changed files
with
9 additions
and
10 deletions
| 1 | # Based on https://medium.com/@nocnoc/flutter-unit-widget-and-integration-testing-with-ios-and-android-emulators-on-travis-ci-df17ed7c3be | 1 | # Based on https://medium.com/@nocnoc/flutter-unit-widget-and-integration-testing-with-ios-and-android-emulators-on-travis-ci-df17ed7c3be |
| 2 | matrix: | 2 | matrix: |
| 3 | exclude: | 3 | exclude: |
| 4 | - - &integration-test-stage | ||
| 5 | - stage: Integration Testing | 4 | + - stage: Integration Testing |
| 5 | + name: Android | ||
| 6 | sudo: true | 6 | sudo: true |
| 7 | dist: trusty | 7 | dist: trusty |
| 8 | language: generic | 8 | language: generic |
| 9 | os: linux | 9 | os: linux |
| 10 | - env: | ||
| 11 | - - platform=Android | ||
| 12 | before_install: | 10 | before_install: |
| 13 | - sudo apt-get install -y --no-install-recommends lib32stdc++6 libstdc++6 > /dev/null | 11 | - sudo apt-get install -y --no-install-recommends lib32stdc++6 libstdc++6 > /dev/null |
| 14 | # Install the Android SDK Dependency. | 12 | # Install the Android SDK Dependency. |
| @@ -51,14 +49,11 @@ matrix: | @@ -51,14 +49,11 @@ matrix: | ||
| 51 | 49 | ||
| 52 | # cd to example | 50 | # cd to example |
| 53 | - cd example | 51 | - cd example |
| 54 | - script: travis_retry flutter driver test_driver/app.dart | 52 | + script: flutter driver test_driver/app.dart |
| 55 | include: | 53 | include: |
| 56 | - - <<: *integration-test-stage | 54 | + - name: iOS |
| 57 | os: osx | 55 | os: osx |
| 58 | osx_image: xcode10.2 | 56 | osx_image: xcode10.2 |
| 59 | - env: | ||
| 60 | - - platform=iOS | ||
| 61 | - # Run integration tests on ios | ||
| 62 | before_install: | 57 | before_install: |
| 63 | - open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app | 58 | - open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app |
| 64 | - export HOMEBREW_NO_AUTO_UPDATE=1 | 59 | - export HOMEBREW_NO_AUTO_UPDATE=1 |
| 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+2 | 3 | +version: 0.1.2+3 |
| 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