-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #318 from Workiva/3.0.0-wip
CPLAT-4521 CPLAT-7627 CPLAT-7708 dart_dev v3.0.0
- Loading branch information
Showing
389 changed files
with
6,274 additions
and
18,163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,7 @@ | ||
.dart_tool | ||
.dart_tool/ | ||
.idea/ | ||
.packages | ||
.pub | ||
.dart_tool | ||
packages | ||
/pubspec.lock | ||
.pub/ | ||
build/ | ||
.idea/ | ||
|
||
# generated docs | ||
/doc/api/ | ||
test_reports/ | ||
|
||
# generated coverage | ||
/coverage/ | ||
|
||
# generated assets in test fixtures | ||
/test_fixtures/copy_license/license_with_empty_lines_temp/ | ||
/test_fixtures/copy_license/no_licenses_temp/ | ||
/test_fixtures/coverage/browser/coverage/ | ||
/test_fixtures/coverage/browser_needs_pub_serve/coverage/ | ||
/test_fixtures/coverage/failing_test/coverage/ | ||
/test_fixtures/coverage/failing_test/test/failing_test.dart.temp.html | ||
/test_fixtures/coverage/functional_test/coverage/ | ||
/test_fixtures/coverage/functional_test/test/functional/simple_test.dart.temp.html | ||
/test_fixtures/coverage/non_test_file/coverage/ | ||
/test_fixtures/coverage/vm/coverage/ | ||
/test_fixtures/dart_x_only/doc/api/ | ||
/test_fixtures/docs/docs/doc/api/ | ||
/test_fixtures/format/changes_needed_temp/ | ||
/test_fixtures/needs_build_runner/.dart_tool | ||
/test_fixtures/sass/fake_consumer_package | ||
/test_fixtures/coverage/functional_test/pubspec.lock | ||
/pubspec.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,17 @@ | ||
language: dart | ||
|
||
# Workaround for issue with sandboxed Chrome in containerized Travis builds. | ||
sudo: required | ||
|
||
addons: | ||
apt: | ||
packages: | ||
- ttf-kochi-mincho | ||
- ttf-kochi-gothic | ||
- ttf-dejavu | ||
- ttf-indic-fonts | ||
- fonts-tlwg-garuda | ||
chrome: stable | ||
|
||
dart: | ||
- 1.24.3 | ||
- 2.3.0 | ||
- stable | ||
- dev | ||
|
||
before_install: | ||
# Workaround for https://github.com/travis-ci/travis-ci/issues/8607 | ||
- sudo rm -vf /etc/apt/sources.list.d/*riak* | ||
# 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 | ||
sudo: required | ||
addons: | ||
chrome: stable | ||
|
||
script: | ||
- pub run dependency_validator -i browser,coverage,dart_style,test | ||
- pub run dart_dev dart2-only -- format --check | ||
- pub run dependency_validator -i pedantic | ||
- pub run dart_dev analyze | ||
- pub run dart_dev dart1-only ./tool/build_functional_coverage_fixture.sh | ||
- pub run dart_dev dart1-only -- test -P dart1 | ||
- pub run dart_dev dart2-only -- test -P dart2 | ||
# TODO: no way to use a preset with coverage | ||
# - pub run dart_dev dart1-only coverage --integration --no-html | ||
# - bash <(curl -s https://codecov.io/bash) -f coverage/coverage.lcov | ||
- pub run dart_dev format --check | ||
- pub run dart_dev test | ||
- pub publish --dry-run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
FROM google/dart:1.24.3 | ||
|
||
WORKDIR /build/ | ||
FROM google/dart:2.5 | ||
WORKDIR /build | ||
ADD pubspec.yaml /build | ||
RUN pub get | ||
ARG BUILD_ARTIFACTS_BUILD=/build/pubspec.lock | ||
FROM scratch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.