Skip to content

Commit 5c45465

Browse files
authored
1 parent 1247e77 commit 5c45465

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

CI/.drone.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
kind: pipeline
2+
type: docker
23
name: default
34
steps:
45
# test Java 11 HTTP client
@@ -15,11 +16,23 @@ steps:
1516
- /bin/bash bin/utils/test-fake-petstore-for-all.sh
1617
# generate test scripts
1718
- /bin/bash bin/tests/run-all-test
19+
20+
---
21+
kind: pipeline
22+
type: docker
23+
name: default
24+
steps:
1825
# test nim client
1926
- name: nim-client-test
2027
image: nimlang/nim
2128
commands:
2229
- (cd samples/client/petstore/nim/ && nim c sample_client.nim)
30+
31+
---
32+
kind: pipeline
33+
type: docker
34+
name: default
35+
steps:
2336
# test protobuf schema generator
2437
- name: protobuf-schema-test
2538
image: nanoservice/protobuf-go
@@ -29,12 +42,24 @@ steps:
2942
- cd samples/config/petstore/protobuf-schema
3043
- protoc --go_out=/var/tmp/go/ services/*
3144
- protoc --go_out=/var/tmp/go/ models/*
45+
46+
---
47+
kind: pipeline
48+
type: docker
49+
name: default
50+
steps:
3251
# test aspnetcore 3.x
3352
- name: aspnetcore-test
3453
image: mcr.microsoft.com/dotnet/core/sdk:3.1
3554
commands:
3655
- (cd samples/server/petstore/aspnetcore-3.1/ && /bin/sh build.sh)
3756
- (cd samples/server/petstore/aspnetcore-3.0/ && /bin/sh build.sh)
57+
58+
---
59+
kind: pipeline
60+
type: docker
61+
name: default
62+
steps:
3863
# test ocaml petstore client
3964
- name: ocaml-test
4065
image: ocaml/opam2:4.07
@@ -46,11 +71,23 @@ steps:
4671
- eval $(opam env)
4772
- sudo chmod -R 777 .
4873
- dune build --build-dir=./_build
74+
75+
---
76+
kind: pipeline
77+
type: docker
78+
name: default
79+
steps:
4980
# test haskell client
5081
- name: haskell-client-test
5182
image: haskell:8.10.4
5283
commands:
5384
- (cd samples/client/petstore/haskell-http-client/ && stack --allow-different-user --install-ghc --no-haddock-deps haddock --fast && stack --allow-different-user test --fast)
85+
86+
---
87+
kind: pipeline
88+
type: docker
89+
name: default
90+
steps:
5491
# test erlang client and server
5592
- name: erlang
5693
image: erlang:alpine

0 commit comments

Comments
 (0)