This repository was archived by the owner on Jul 30, 2021. It is now read-only.
File tree 1 file changed +36
-4
lines changed
1 file changed +36
-4
lines changed Original file line number Diff line number Diff line change 1
1
language : dart
2
+ sudo : required
3
+
2
4
dart :
3
- - 1.24.2
4
- with_content_shell : true
5
+ - stable
6
+
7
+ addons :
8
+ apt :
9
+ packages :
10
+ - ttf-kochi-mincho
11
+ - ttf-kochi-gothic
12
+ - ttf-dejavu
13
+ - ttf-indic-fonts
14
+ - fonts-tlwg-garuda
15
+
5
16
before_install :
6
- - export DISPLAY=:99.0
7
- - sh -e /etc/init.d/xvfb start
17
+ # Workaround for https://github.com/travis-ci/travis-ci/issues/8607
18
+ - sudo rm -vf /etc/apt/sources.list.d/*riak*
19
+ # Content shell needs this font. Since it has a EULA, we need to manually
20
+ # install it.
21
+ #
22
+ # TODO: remove this and use "sudo: false" when travis-ci/travis-ci#4714 is
23
+ # fixed.
24
+ - sudo apt-get update -yq
25
+ - sudo sh -c "echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections"
26
+ - sudo apt-get install msttcorefonts -qq
27
+
28
+ - mkdir -p bin
29
+ - export PATH="$PATH:`pwd`/bin/"
30
+ - ln -s `which chromium-browser` bin/google-chrome
31
+
32
+ - wget "http://gsdview.appspot.com/dart-archive/channels/stable/release/latest/dartium/content_shell-linux-x64-release.zip"
33
+ - unzip content_shell-linux-x64-release.zip
34
+ - ln -s `pwd`/`echo drt-linux-*`/content_shell bin/content_shell
35
+
36
+ - export DISPLAY=:99.0
37
+ - export PATH=$PATH":$PWD"
38
+ - sh -e /etc/init.d/xvfb start
39
+
8
40
script :
9
41
- pub run dart_dev format --check
10
42
- pub run dart_dev analyze
You can’t perform that action at this time.
0 commit comments