File tree Expand file tree Collapse file tree 3 files changed +37
-1
lines changed Expand file tree Collapse file tree 3 files changed +37
-1
lines changed Original file line number Diff line number Diff line change
1
+ os :
2
+ - linux
3
+ sudo : false
4
+ addons :
5
+ apt :
6
+ sources :
7
+ - ubuntu-toolchain-r-test
8
+ packages :
9
+ - libstdc++6
10
+ - fonts-droid
11
+ git :
12
+ depth : 3
13
+ env :
14
+ - FLUTTER_VERSION=beta
15
+ - FLUTTER_VERSION=dev
16
+ matrix :
17
+ allow_failures :
18
+ - env : FLUTTER_VERSION=dev
19
+ before_script :
20
+ - git clone https://github.com/flutter/flutter.git -b $FLUTTER_VERSION
21
+ - ./flutter/bin/flutter doctor
22
+ - chmod +x travis_script.sh
23
+ script :
24
+ - ./travis_script.sh
25
+ cache :
26
+ directories :
27
+ - $HOME/shared/.pub-cache
Original file line number Diff line number Diff line change 5
5
import 'package:flutter_test/flutter_test.dart' ;
6
6
7
7
void main () {
8
- testWidgets ( 'Counter increments smoke test ' , (WidgetTester tester) async {});
8
+ test ( 'This test always passes. ' , () {});
9
9
}
Original file line number Diff line number Diff line change
1
+ set -e
2
+
3
+ echo " == Testing 'jsonexample' on Flutter's $FLUTTER_VERSION channel =="
4
+
5
+ pushd jsonexample
6
+ ../flutter/bin/flutter test
7
+ popd
8
+
9
+ echo " -- Success --"
You can’t perform that action at this time.
0 commit comments