|
1 | 1 | git:
|
2 | 2 | depth: 3
|
3 |
| - |
4 | 3 | jobs:
|
5 | 4 | include:
|
6 |
| - - name: "iOS tests, stable channel" |
7 |
| - os: osx |
8 |
| - osx_image: xcode11.2 |
9 |
| - language: objective-c |
10 |
| - before_script: |
11 |
| - - git clone https://github.com/flutter/flutter.git -b $FLUTTER_VERSION |
12 |
| - - ./flutter/bin/flutter doctor |
13 |
| - - chmod +x tool/travis_*_script.sh |
14 |
| - script: ./tool/travis_ios_script.sh |
15 |
| - env: FLUTTER_VERSION=stable |
16 |
| - |
17 |
| - - name: "Android tests, stable channel" |
18 |
| - os: linux |
19 |
| - dist: trusty |
20 |
| - language: android |
21 |
| - android: |
22 |
| - components: |
23 |
| - - tools |
24 |
| - - platform-tools |
25 |
| - - build-tools-28.0.3 |
26 |
| - - android-24 |
27 |
| - - android-28 |
28 |
| - - sys-img-armeabi-v7a-android-24 |
29 |
| - before_script: |
30 |
| - - git clone https://github.com/flutter/flutter.git -b $FLUTTER_VERSION |
31 |
| - - ./flutter/bin/flutter doctor |
32 |
| - - chmod +x tool/travis_*_script.sh |
33 |
| - - echo no | android create avd --force -n test -t android-24 --abi armeabi-v7a -c 100M |
34 |
| - - emulator -avd test -no-window & |
35 |
| - - android-wait-for-emulator |
36 |
| - - adb shell input keyevent 82 & |
37 |
| - script: ./tool/travis_android_script.sh |
38 |
| - env: FLUTTER_VERSION=stable |
39 |
| - |
40 |
| - - name: "Flutter tests, stable channel" |
41 |
| - os: linux |
42 |
| - dist: trusty |
43 |
| - language: ruby |
44 |
| - before_script: |
45 |
| - - git clone https://github.com/flutter/flutter.git -b $FLUTTER_VERSION |
46 |
| - - ./flutter/bin/flutter doctor |
47 |
| - - chmod +x tool/travis_*_script.sh |
48 |
| - script: ./tool/travis_flutter_script.sh |
49 |
| - env: FLUTTER_VERSION=stable |
50 |
| - |
51 |
| - - name: "iOS tests, beta channel" |
52 |
| - os: osx |
53 |
| - osx_image: xcode11.2 |
54 |
| - language: objective-c |
55 |
| - before_script: |
56 |
| - - git clone https://github.com/flutter/flutter.git -b $FLUTTER_VERSION |
57 |
| - - ./flutter/bin/flutter doctor |
58 |
| - - chmod +x tool/travis_*_script.sh |
59 |
| - script: ./tool/travis_ios_script.sh |
60 |
| - env: FLUTTER_VERSION=beta |
61 |
| - |
62 |
| - - name: "Android tests, beta channel" |
63 |
| - os: linux |
64 |
| - dist: trusty |
65 |
| - language: android |
66 |
| - android: |
67 |
| - components: |
68 |
| - - build-tools-28.0.3 |
69 |
| - - android-28 |
70 |
| - - sys-img-armeabi-v7a-android-28 |
71 |
| - before_script: |
72 |
| - - git clone https://github.com/flutter/flutter.git -b $FLUTTER_VERSION |
73 |
| - - ./flutter/bin/flutter doctor |
74 |
| - - chmod +x tool/travis_*_script.sh |
75 |
| - - echo no | android create avd --force -n test -t android-28 --abi armeabi-v7a |
76 |
| - - emulator -avd test -no-skin -no-audio -no-window & |
77 |
| - - android-wait-for-emulator |
78 |
| - - adb shell input keyevent 82 & |
79 |
| - script: ./tool/travis_android_script.sh |
80 |
| - env: FLUTTER_VERSION=beta |
81 |
| - |
82 |
| - - name: "Flutter tests, beta channel" |
83 |
| - os: linux |
84 |
| - dist: trusty |
85 |
| - language: ruby |
86 |
| - before_script: |
87 |
| - - git clone https://github.com/flutter/flutter.git -b $FLUTTER_VERSION |
88 |
| - - ./flutter/bin/flutter doctor |
89 |
| - - chmod +x tool/travis_*_script.sh |
90 |
| - script: ./tool/travis_flutter_script.sh |
91 |
| - env: FLUTTER_VERSION=beta |
92 |
| - |
| 5 | + - name: iOS tests, stable channel |
| 6 | + os: osx |
| 7 | + osx_image: xcode11.2 |
| 8 | + language: objective-c |
| 9 | + before_script: |
| 10 | + - git clone https://github.com/flutter/flutter.git -b $FLUTTER_VERSION |
| 11 | + - "./flutter/bin/flutter doctor" |
| 12 | + - chmod +x tool/travis_*_script.sh |
| 13 | + script: "./tool/travis_ios_script.sh" |
| 14 | + env: FLUTTER_VERSION=stable |
| 15 | + - name: Android tests, stable channel |
| 16 | + os: linux |
| 17 | + dist: trusty |
| 18 | + language: android |
| 19 | + android: |
| 20 | + components: |
| 21 | + - tools |
| 22 | + - platform-tools |
| 23 | + - build-tools-28.0.3 |
| 24 | + - android-24 |
| 25 | + - android-28 |
| 26 | + - sys-img-armeabi-v7a-android-24 |
| 27 | + before_script: |
| 28 | + - git clone https://github.com/flutter/flutter.git -b $FLUTTER_VERSION |
| 29 | + - "./flutter/bin/flutter doctor" |
| 30 | + - chmod +x tool/travis_*_script.sh |
| 31 | + - echo no | android create avd --force -n test -t android-24 --abi armeabi-v7a |
| 32 | + -c 100M |
| 33 | + - emulator -avd test -no-window & |
| 34 | + - android-wait-for-emulator |
| 35 | + - adb shell input keyevent 82 & |
| 36 | + script: "./tool/travis_android_script.sh" |
| 37 | + env: FLUTTER_VERSION=stable |
| 38 | + - name: Flutter tests, stable channel |
| 39 | + os: linux |
| 40 | + dist: trusty |
| 41 | + language: ruby |
| 42 | + before_script: |
| 43 | + - git clone https://github.com/flutter/flutter.git -b $FLUTTER_VERSION |
| 44 | + - "./flutter/bin/flutter doctor" |
| 45 | + - chmod +x tool/travis_*_script.sh |
| 46 | + script: "./tool/travis_flutter_script.sh" |
| 47 | + env: FLUTTER_VERSION=stable |
| 48 | + - name: iOS tests, beta channel |
| 49 | + os: osx |
| 50 | + osx_image: xcode11.2 |
| 51 | + language: objective-c |
| 52 | + before_script: |
| 53 | + - git clone https://github.com/flutter/flutter.git -b $FLUTTER_VERSION |
| 54 | + - "./flutter/bin/flutter doctor" |
| 55 | + - chmod +x tool/travis_*_script.sh |
| 56 | + script: "./tool/travis_ios_script.sh" |
| 57 | + env: FLUTTER_VERSION=beta |
| 58 | + - name: Android tests, beta channel |
| 59 | + os: linux |
| 60 | + dist: trusty |
| 61 | + language: android |
| 62 | + android: |
| 63 | + components: |
| 64 | + - build-tools-28.0.3 |
| 65 | + - android-28 |
| 66 | + - sys-img-armeabi-v7a-android-28 |
| 67 | + before_script: |
| 68 | + - git clone https://github.com/flutter/flutter.git -b $FLUTTER_VERSION |
| 69 | + - "./flutter/bin/flutter doctor" |
| 70 | + - chmod +x tool/travis_*_script.sh |
| 71 | + - echo no | android create avd --force -n test -t android-28 --abi armeabi-v7a |
| 72 | + - emulator -avd test -no-skin -no-audio -no-window & |
| 73 | + - android-wait-for-emulator |
| 74 | + - adb shell input keyevent 82 & |
| 75 | + script: "./tool/travis_android_script.sh" |
| 76 | + env: FLUTTER_VERSION=beta |
| 77 | + - name: Flutter tests, beta channel |
| 78 | + os: linux |
| 79 | + dist: trusty |
| 80 | + language: ruby |
| 81 | + before_script: |
| 82 | + - git clone https://github.com/flutter/flutter.git -b $FLUTTER_VERSION |
| 83 | + - "./flutter/bin/flutter doctor" |
| 84 | + - chmod +x tool/travis_*_script.sh |
| 85 | + script: "./tool/travis_flutter_script.sh" |
| 86 | + env: FLUTTER_VERSION=beta |
93 | 87 | allow_failures:
|
94 |
| - - env: FLUTTER_VERSION=beta |
95 |
| - |
| 88 | + - env: FLUTTER_VERSION=beta |
96 | 89 | cache:
|
97 | 90 | cocoapods: true
|
98 | 91 | directories:
|
99 |
| - - $HOME/shared/.pub-cache |
100 |
| - |
| 92 | + - "$HOME/shared/.pub-cache" |
101 | 93 | notifications:
|
102 |
| - email: |
103 |
| - |
104 |
| - |
105 |
| -# Building master alone means that we don't run two builds for |
106 |
| -# each pull request. |
| 94 | + |
107 | 95 | branches:
|
108 |
| - only: [master] |
| 96 | + only: |
| 97 | + - master |
| 98 | +before_install: |
| 99 | +- openssl aes-256-cbc -K $encrypted_ccb0f43ba178_key -iv $encrypted_ccb0f43ba178_iv |
| 100 | + -in svc-keyfile.json.enc -out svc-keyfile.json -d |
0 commit comments