blob: a7c98083273e6a1f5b6aaf069868cd6ad74ef19a [file] [log] [blame]
travis:
before_install:
# Install our custom protoc, as the version we get with apt-get is too old.
- wget -O protoc.zip https://github.com/protocolbuffers/protobuf/releases/download/v3.6.1/protoc-3.6.1-linux-x86_64.zip
- unzip -d protoc protoc.zip
- export PATH=$PWD/protoc/bin:$PATH
- echo $PATH
# Run the protoc_plugin tests with the protobuf from the repo, not from pub.
# This could be avoided with a fix of: https://github.com/dart-lang/mono_repo/issues/117.
- "echo \"dependency_overrides: {protobuf: {path: ../protobuf}}\" >> protoc_plugin/pubspec.yaml"