Browse Source

Fixing travis build matrix

Anatoly Pulyaevskiy 6 years ago
parent
commit
54d157ee8a
1 changed files with 10 additions and 6 deletions
  1. 10
    6
      .travis.yml

+ 10
- 6
.travis.yml View File

2
 
2
 
3
 dart:
3
 dart:
4
   - stable
4
   - stable
5
-  - dev
6
 
5
 
7
 os:
6
 os:
8
   - linux
7
   - linux
22
     - $HOME/.pub-cache
21
     - $HOME/.pub-cache
23
 
22
 
24
 env:
23
 env:
25
-  - FLUTTER_VERSION=beta
26
-  - FLUTTER_VERSION=dev
24
+  - FLUTTER_VERSION=stable
25
+  - FLUTTER_VERSION=master
27
 
26
 
28
 matrix:
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
 before_script:
36
 before_script:
33
   - pwd
37
   - pwd
38
 - pwd
42
 - pwd
39
 - ./tool/travis.sh notus
43
 - ./tool/travis.sh notus
40
 - ./tool/travis.sh zefyr
44
 - ./tool/travis.sh zefyr
41
-#- bash <(curl -s https://codecov.io/bash)
45
+- bash <(curl -s https://codecov.io/bash)