File tree Expand file tree Collapse file tree 6 files changed +79
-0
lines changed Expand file tree Collapse file tree 6 files changed +79
-0
lines changed Original file line number Diff line number Diff line change
1
+ language : dart
2
+ dart :
3
+ - " dev/raw/latest"
4
+
5
+ script : ./tool/travis.sh
6
+
7
+ branches :
8
+ only :
9
+ - master
10
+
11
+ cache :
12
+ directories :
13
+ - $HOME/.pub-cache
Original file line number Diff line number Diff line change 1
1
# Flutter DevTools
2
+ [ ![ Build Status] ( https://travis-ci.org/flutter/devtools.svg?branch=master )] ( https://travis-ci.org/flutter/devtools )
2
3
3
4
Performance tools for Flutter.
4
5
Original file line number Diff line number Diff line change
1
+ analyzer :
2
+ errors :
3
+ unused_import : error
4
+
5
+ # TODO: Normalize this with /flutter/flutter/blob/master/analysis_options.yaml.
6
+ linter :
7
+ rules :
8
+ - avoid_init_to_null
9
+ - avoid_return_types_on_setters
10
+ - camel_case_types
11
+ - directives_ordering
12
+ - hash_and_equals
13
+ - iterable_contains_unrelated_type
14
+ - list_remove_unrelated_type
15
+ - prefer_final_fields
16
+ - slash_for_doc_comments
17
+ - test_types_in_equals
18
+ - unrelated_type_equality_checks
19
+ - valid_regexps
Original file line number Diff line number Diff line change
1
+ // Copyright 2018 The Chromium Authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style license that can be
3
+ // found in the LICENSE file.
4
+
5
+ void main () {
6
+ print ('hello' );
7
+ }
Original file line number Diff line number Diff line change
1
+ name : devtools
2
+ description : Performance tools for Flutter.
3
+ version : 0.0.1
4
+ homepage : https://github.com/flutter/devtools
5
+
6
+ environment :
7
+ sdk : ' >=2.0.0-dev <3.0.0'
8
+
9
+ dependencies :
10
+ intl : ^0.15.0
11
+ logging : ^0.11.0
12
+ vm_service_lib : ^0.3.8
13
+
14
+ dev_dependencies :
15
+ build_runner : any
16
+ build_web_compilers : any
17
+ test : ^1.0.0
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # Copyright 2018 The Chromium Authors. All rights reserved.
4
+ # Use of this source code is governed by a BSD-style license that can be
5
+ # found in the LICENSE file.
6
+
7
+ # Fast fail the script on failures.
8
+ set -e
9
+
10
+ # Print out the Dart version in use.
11
+ dart --version
12
+
13
+ # Add globally activated packages to the path.
14
+ export PATH=" $PATH " :" ~/.pub-cache/bin"
15
+
16
+ # Analyze the source.
17
+ pub global activate tuneup
18
+ tuneup check --ignore-infos
19
+
20
+ # Ensure we can build the app.
21
+ pub global activate webdev
22
+ webdev build
You can’t perform that action at this time.
0 commit comments