diff --git a/CI/.drone.yml b/CI/.drone.yml
index 04523009a088..ad8bb2fa2d53 100644
--- a/CI/.drone.yml
+++ b/CI/.drone.yml
@@ -18,13 +18,14 @@ steps:
image: haskell:8.6.5
commands:
- (cd samples/client/petstore/haskell-http-client/ && stack --install-ghc --no-haddock-deps haddock --fast && stack test --fast)
+# below dart tests moved to circle ci
# test Dart 2.x petstore client
-- name: dart2x-test
- image: google/dart
- commands:
- - (cd samples/client/petstore/dart-jaguar/openapi && pub get && pub run build_runner build --delete-conflicting-outputs)
- - (cd samples/client/petstore/dart-jaguar/flutter_petstore/openapi && pub get && pub run build_runner build --delete-conflicting-outputs)
- - (cd samples/client/petstore/dart2/petstore && pub get && pub run test)
+#- name: dart2x-test
+# image: google/dart
+# commands:
+# - (cd samples/client/petstore/dart-jaguar/openapi && pub get && pub run build_runner build --delete-conflicting-outputs)
+# - (cd samples/client/petstore/dart-jaguar/flutter_petstore/openapi && pub get && pub run build_runner build --delete-conflicting-outputs)
+# - (cd samples/client/petstore/dart2/petstore && pub get && pub run test)
# test Java 11 HTTP client
- name: java11-test
image: openjdk:11.0
diff --git a/CI/circle_parallel.sh b/CI/circle_parallel.sh
index 913ef4754c42..c28cd709ea0f 100755
--- a/CI/circle_parallel.sh
+++ b/CI/circle_parallel.sh
@@ -9,8 +9,8 @@ set -e
if [ "$NODE_INDEX" = "1" ]; then
echo "Running node $NODE_INDEX to test 'samples.circleci' defined in pom.xml ..."
- #cp CI/pom.xml.circleci pom.xml
java -version
+
mvn --quiet verify -Psamples.circleci -Dorg.slf4j.simpleLogger.defaultLogLevel=error
mvn --quiet javadoc:javadoc -Psamples.circleci -Dorg.slf4j.simpleLogger.defaultLogLevel=error
@@ -46,13 +46,23 @@ elif [ "$NODE_INDEX" = "2" ]; then
# install curl
sudo apt-get -y build-dep libcurl4-gnutls-dev
sudo apt-get -y install libcurl4-gnutls-dev
+
# run integration tests
mvn --quiet verify -Psamples.misc -Dorg.slf4j.simpleLogger.defaultLogLevel=error
else
echo "Running node $NODE_INDEX to test 'samples.circleci.jdk7' defined in pom.xml ..."
sudo update-java-alternatives -s java-1.7.0-openjdk-amd64
java -version
- #cp CI/pom.xml.circleci.java7 pom.xml
+
+ # install dart2
+ sudo apt-get update
+ sudo apt-get install apt-transport-https
+ sudo sh -c 'wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -'
+ sudo sh -c 'wget -qO- https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list'
+ sudo apt-get update
+ sudo apt-get install dart
+ export PATH="$PATH:/usr/lib/dart/bin"
+
mvn --quiet verify -Psamples.circleci.jdk7 -Dorg.slf4j.simpleLogger.defaultLogLevel=error
fi
diff --git a/pom.xml b/pom.xml
index bbf7ee1ecf66..eb094907adae 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1384,6 +1384,9 @@
samples/openapi3/client/petstore/ruby
+ samples/client/petstore/dart2/petstore
+ samples/client/petstore/dart-jaguar/openapi
+ samples/client/petstore/dart-jaguar/flutter_petstore/openapi
samples/client/petstore/scala-httpclient
samples/client/petstore/scalaz
samples/client/petstore/java/feign