Browse Source

Merge branch 'beta'

Anatoly Pulyaevskiy 6 years ago
parent
commit
a61d2c95b7
1 changed files with 11 additions and 7 deletions
  1. 11
    7
      .travis.yml

+ 11
- 7
.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
21
   directories:
20
   directories:
22
     - $HOME/.pub-cache
21
     - $HOME/.pub-cache
23
 
22
 
24
-env:
25
-  - FLUTTER_VERSION=beta
26
-  - FLUTTER_VERSION=dev
23
+#env:
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)