Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 34 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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 <clientplatform@workiva.com>
Expand Down