diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..b5ddf19 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,21 @@ +kind: pipeline +type: docker +name: default + +trigger: + event: + - push + +steps: + - name: build + image: swift:latest + commands: + - cd Connect4/connect4_lib/Sources/connect4_lib + - swift build + + - name: tests_Model + image: swift:latest + commands: + - cd Connect4/connect4_lib/Sources/connect4_lib + - swift test + depends_on: [build] \ No newline at end of file diff --git a/README.md b/README.md index 110881e..bdb71b0 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ +[![Build Status](https://codefirst.iut.uca.fr/api/badges/alexis.drai/connect4-swift/status.svg)](https://codefirst.iut.uca.fr/alexis.drai/connect4-swift) + # Connect 4 -## XCode have mercy +