From dee72ea3a2ed5b8e200ededdcf079f8e1e6602a6 Mon Sep 17 00:00:00 2001 From: Rosie the Robot Date: Tue, 8 Aug 2017 11:49:51 -0500 Subject: [PATCH 1/2] Updating pubspec.yaml with a new version of dart_dev 1.8.0 --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index b6e6d83b..9b73a7b0 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: dart_dev -version: 1.7.8 +version: 1.8.0 description: Centralized tooling for Dart projects. Consistent interface across projects. Easily configurable. authors: - Workiva Client Platform Team From 0e72435e94387fcd5b857f9e299407bcb3f2d220 Mon Sep 17 00:00:00 2001 From: "Jay.Udey" Date: Tue, 8 Aug 2017 15:15:33 -0500 Subject: [PATCH 2/2] use travis.yaml set up from the dart test package --- .travis.yml | 39 ++++++++++++++++++++++++++++++++++----- 1 file changed, 34 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5ae41928..f979b40d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,41 @@ language: dart +sudo: required + dart: - 1.24.2 -with_content_shell: true + +addons: + apt: + packages: + - ttf-kochi-mincho + - ttf-kochi-gothic + - ttf-dejavu + - ttf-indic-fonts + - fonts-tlwg-garuda + before_install: - - export DISPLAY=:99.0 - - ./tool/setup_dartium.sh - - export PATH=$PATH":$PWD" - - sh -e /etc/init.d/xvfb start + # Content shell needs this font. Since it has a EULA, we need to manually + # install it. + # + # TODO: remove this and use "sudo: false" when travis-ci/travis-ci#4714 is + # fixed. + - sudo apt-get update -yq + - sudo sh -c "echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections" + - sudo apt-get install msttcorefonts -qq + + - mkdir -p bin + - export PATH="$PATH:`pwd`/bin/" + - ln -s `which chromium-browser` bin/google-chrome + + - wget "http://gsdview.appspot.com/dart-archive/channels/stable/release/latest/dartium/content_shell-linux-x64-release.zip" + - unzip content_shell-linux-x64-release.zip + - ln -s `pwd`/`echo drt-linux-*`/content_shell bin/content_shell + + - export DISPLAY=:99.0 + - ./tool/setup_dartium.sh + - export PATH=$PATH":$PWD" + - sh -e /etc/init.d/xvfb start + script: - pub run dart_dev format --check - pub run dart_dev analyze