File tree Expand file tree Collapse file tree 3 files changed +16
-29
lines changed Expand file tree Collapse file tree 3 files changed +16
-29
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
os :
2
- - linux
2
+ - osx
3
+ env :
4
+ - FLUTTER_CHANNEL="stable"
5
+ - FLUTTER_CHANNEL="master"
3
6
sudo : false
4
- addons :
5
- apt :
6
- # Flutter depends on /usr/lib/x86_64-linux-gnu/libstdc++.so.6 version GLIBCXX_3.4.18
7
- sources :
8
- - ubuntu-toolchain-r-test # if we don't specify this, the libstdc++6 we get is the wrong version
9
- packages :
10
- - libstdc++6
11
- - fonts-droid
12
7
before_script :
13
- - git clone https://github.com/flutter/flutter.git -b beta
14
- - ./flutter/bin/flutter doctor
8
+ - cd ..
9
+ - git clone https://github.com/flutter/flutter.git -b $FLUTTER_CHANNEL
10
+ - export PATH=$PATH:$PWD/flutter/bin:$PWD/flutter/bin/cache/dart-sdk/bin
11
+ - cd -
12
+ - flutter doctor
15
13
script :
16
- - ./flutter/bin/flutter pub get
17
- - ./flutter/bin/cache/dart-sdk/bin/dartfmt -n --set-exit-if-changed ./lib ./test ./example || travis_terminate 1
14
+ - set -e # abort CI if an error happens
15
+ - flutter pub get
16
+ - dartfmt -n --set-exit-if-changed ./lib ./test ./example || travis_terminate 1
17
+ matrix :
18
+ fast_finish : true
19
+ allow_failures :
20
+ - env : FLUTTER_CHANNEL="master"
18
21
cache :
19
22
directories :
20
23
- $HOME/.pub-cache
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments