|
@@ -2,7 +2,6 @@ language: dart
|
2
|
2
|
|
3
|
3
|
dart:
|
4
|
4
|
- stable
|
5
|
|
- - dev
|
6
|
5
|
|
7
|
6
|
os:
|
8
|
7
|
- linux
|
|
@@ -22,12 +21,17 @@ cache:
|
22
|
21
|
- $HOME/.pub-cache
|
23
|
22
|
|
24
|
23
|
env:
|
25
|
|
- - FLUTTER_VERSION=beta
|
26
|
|
- - FLUTTER_VERSION=dev
|
|
24
|
+ - FLUTTER_VERSION=stable
|
|
25
|
+ - FLUTTER_VERSION=master
|
27
|
26
|
|
28
|
27
|
matrix:
|
29
|
|
- allow_failures:
|
30
|
|
- - env: FLUTTER_VERSION=dev
|
|
28
|
+ include:
|
|
29
|
+ - name: "Master build"
|
|
30
|
+ if: branch = master
|
|
31
|
+ env: FLUTTER_VERSION=master
|
|
32
|
+ - name: "Stable build"
|
|
33
|
+ if: branch != master
|
|
34
|
+ env: FLUTTER_VERSION=stable
|
31
|
35
|
|
32
|
36
|
before_script:
|
33
|
37
|
- pwd
|
|
@@ -38,4 +42,4 @@ script:
|
38
|
42
|
- pwd
|
39
|
43
|
- ./tool/travis.sh notus
|
40
|
44
|
- ./tool/travis.sh zefyr
|
41
|
|
-#- bash <(curl -s https://codecov.io/bash)
|
|
45
|
+- bash <(curl -s https://codecov.io/bash)
|