fix travis ci for pinned dart sdk version

This commit is contained in:
Larry Li 2020-08-19 12:31:02 +10:00
parent b173138a3b
commit d47db45180
3 changed files with 6 additions and 6 deletions

View File

@ -153,9 +153,6 @@ matrix:
env: TARGET=csharp env: TARGET=csharp
stage: main-test stage: main-test
- os: linux - os: linux
language: dart
dart:
- "2.8.4"
jdk: openjdk8 jdk: openjdk8
env: TARGET=dart env: TARGET=dart
stage: main-test stage: main-test

View File

@ -1,6 +1,7 @@
#!/bin/bash #!/bin/bash
set -euo pipefail set -euo pipefail
wget https://storage.googleapis.com/dart-archive/channels/stable/release/2.8.4/linux_packages/dart_2.8.4-1_amd64.debhttps://storage.googleapis.com/dart-archive/channels/stable/release/2.8.4/linux_packages/dart_2.8.4-1_amd64.deb
dart --version sudo dpkg -i ./dart_2.8.4-1_amd64.deb
command -v dart sudo rm ./dart_2.8.4-1_amd64.deb
sudo apt-get install -f

View File

@ -1,5 +1,7 @@
# ANTLR4 Runtime for Dart # ANTLR4 Runtime for Dart
Notice: Dart target may generate code incompatible with Dart 2.9 sound null safety. Please set the minimum SDK constraint to 2.8.4 or lower if such violation is found. Contributions are welcomed.
### First steps ### First steps
#### 1. Install ANTLR4 #### 1. Install ANTLR4