File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change
1
+ os :
2
+ - linux
3
+ - osx
4
+
1
5
language : dart
2
6
dart :
3
7
- " dev/raw/latest"
8
+ addons :
9
+ chrome : stable
4
10
5
11
script : ./tool/travis.sh
6
12
Original file line number Diff line number Diff line change @@ -29,6 +29,12 @@ class Chrome {
29
29
if (FileSystemEntity .isDirectorySync (defaultPath)) {
30
30
return new Chrome .from (path.join (defaultPath, bundlePath));
31
31
}
32
+ } else if (Platform .isLinux) {
33
+ const String defaultPath = '/usr/bin/google-chrome' ;
34
+
35
+ if (FileSystemEntity .isDirectorySync (defaultPath)) {
36
+ return new Chrome .from (defaultPath);
37
+ }
32
38
}
33
39
34
40
// TODO(devoncarew): check default install locations for linux
Original file line number Diff line number Diff line change 5
5
# found in the LICENSE file.
6
6
7
7
# Fast fail the script on failures.
8
- set -e
8
+ # set -e
9
9
10
10
# Print out the Dart version in use.
11
11
dart --version
You can’t perform that action at this time.
0 commit comments