[Erlang] migrate CI to drone.io (#9406)

* test erlang client, server in drone.io

* rearrange tests, add server folder

* comment out erlang server tests
This commit is contained in:
William Cheng 2021-05-06 10:42:46 +08:00 committed by GitHub
parent 8f5639554e
commit ec085713ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,5 @@
kind: pipeline kind: pipeline
name: default name: default
steps: steps:
# test Java 11 HTTP client # test Java 11 HTTP client
- name: java11-test - name: java11-test
@ -54,3 +53,10 @@ steps:
image: haskell:8.6.5 image: haskell:8.6.5
commands: commands:
- (cd samples/client/petstore/haskell-http-client/ && stack --install-ghc --no-haddock-deps haddock --fast && stack test --fast) - (cd samples/client/petstore/haskell-http-client/ && stack --install-ghc --no-haddock-deps haddock --fast && stack test --fast)
# test erlang client and server
- name: erlang
image: erlang:alpine
commands:
- (cd samples/client/petstore/erlang-client && rebar3 compile)
- (cd samples/client/petstore/erlang-proper && rebar3 compile)
#- (cd samples/server/petstore/erlang-server && rebar3 compile)