Compile a snapshot before testing on Travis (#7)

This commit is contained in:
Natalie Weizenbaum 2019-11-05 13:51:14 -08:00 committed by GitHub
parent ec05600af2
commit 053e3eacd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,13 @@ before_script:
# Format the generated code or else the formatter task will get upset.
- dartfmt -w --fix lib/src/embedded_sass.pb*
# TODO(nweiz): always compile native when we're running on Dart 2.7.
- if [[ "$TRAVIS_OS_NAME" = windows ]]; then
pub run grinder pkg-compile-snapshot;
else
pub run grinder pkg-compile-native;
fi
jobs:
include: