@@ -2,6 +2,22 @@ kind: pipeline
2
2
name : default
3
3
4
4
steps :
5
+ # test Java 11 HTTP client
6
+ - name : java11-test
7
+ image : openjdk:11.0
8
+ commands :
9
+ - ./mvnw --quiet clean install -Dorg.slf4j.simpleLogger.defaultLogLevel=error
10
+ - ./mvnw --quiet verify -Psamples.droneio -Dorg.slf4j.simpleLogger.defaultLogLevel=error
11
+ # run ensure up-to-date
12
+ - /bin/bash bin/utils/ensure-up-to-date
13
+ # test java native client
14
+ - ./mvnw clean test -f samples/client/petstore/java/native/pom.xml
15
+ - ./mvnw clean test -f samples/client/petstore/java/native-async/pom.xml
16
+ - ./mvnw clean test -f samples/openapi3/client/petstore/java/native/pom.xml
17
+ # test all generators with fake petstore spec (2.0, 3.0)
18
+ - /bin/bash bin/utils/test-fake-petstore-for-all.sh
19
+ # generate test scripts
20
+ - /bin/bash bin/tests/run-all-test
5
21
# test nim client
6
22
- name : nim-client-test
7
23
image : nimlang/nim
@@ -38,21 +54,3 @@ steps:
38
54
image : haskell:8.6.5
39
55
commands :
40
56
- (cd samples/client/petstore/haskell-http-client/ && stack --install-ghc --no-haddock-deps haddock --fast && stack test --fast)
41
- # test Java 11 HTTP client
42
- - name : java11-test
43
- image : openjdk:11.0
44
- commands :
45
- - ./mvnw --quiet clean install -Dorg.slf4j.simpleLogger.defaultLogLevel=error
46
- - ./mvnw --quiet verify -Psamples.droneio -Dorg.slf4j.simpleLogger.defaultLogLevel=error
47
- # test java native client
48
- - ./mvnw clean test -f samples/client/petstore/java/native/pom.xml
49
- - ./mvnw clean test -f samples/client/petstore/java/native-async/pom.xml
50
- - ./mvnw clean test -f samples/openapi3/client/petstore/java/native/pom.xml
51
- # test all generators with fake petstore spec (2.0, 3.0)
52
- - /bin/bash bin/utils/test-fake-petstore-for-all.sh
53
- # generate test scripts
54
- - /bin/bash bin/tests/run-all-test
55
- # generate all petstore samples (client, servers, doc)
56
- - /bin/bash bin/generate-samples.sh
57
- # generate all petstore samples (openapi3)
58
- - /bin/bash bin/generate-samples.sh bin/configs/other/*.yaml
0 commit comments