creativecreatorormaybenot

Move sudo to Linux again

1 # Originally based on https://medium.com/@nocnoc/flutter-unit-widget-and-integration-testing-with-ios-and-android-emulators-on-travis-ci-df17ed7c3be 1 # Originally based on https://medium.com/@nocnoc/flutter-unit-widget-and-integration-testing-with-ios-and-android-emulators-on-travis-ci-df17ed7c3be
2 language: generic 2 language: generic
3 -sudo: true  
4 3
5 matrix: 4 matrix:
6 exclude: 5 exclude:
7 - stage: Integration Testing 6 - stage: Integration Testing
8 name: Android 7 name: Android
  8 +
9 os: linux 9 os: linux
10 dist: trusty 10 dist: trusty
  11 + sudo: true
  12 +
11 before_install: 13 before_install:
12 - sudo apt-get install -y --no-install-recommends lib32stdc++6 libstdc++6 > /dev/null 14 - sudo apt-get install -y --no-install-recommends lib32stdc++6 libstdc++6 > /dev/null
13 # Install the Android SDK Dependency. 15 # Install the Android SDK Dependency.
@@ -48,13 +50,14 @@ matrix: @@ -48,13 +50,14 @@ matrix:
48 - adb shell input keyevent 82 50 - adb shell input keyevent 82
49 - flutter devices 51 - flutter devices
50 52
51 - # cd to example  
52 - cd example 53 - cd example
53 script: flutter driver test_driver/app.dart 54 script: flutter driver test_driver/app.dart
54 include: 55 include:
55 - name: iOS 56 - name: iOS
  57 +
56 os: osx 58 os: osx
57 osx_image: xcode10.2 59 osx_image: xcode10.2
  60 +
58 before_install: 61 before_install:
59 - open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app 62 - open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app
60 - export HOMEBREW_NO_AUTO_UPDATE=1 63 - export HOMEBREW_NO_AUTO_UPDATE=1