aboutsummaryrefslogblamecommitdiff
path: root/.drone.yml
blob: ea000ae29b6b69074da0425b8f8409edc32d9b1b (plain) (tree)
1
2
3
4
5
6
7
8





               
                      
             




                                   

                            

                                                            
kind: pipeline
type: docker
name: default

steps:
  - name: build
    image: rust:latest
    commands:
      - apt update
      - apt install postgresql -y
      - pg_ctlcluster 13 main start
      - cargo install sqlx-cli
      - cargo sqlx migrate run
      - cargo check
      - cargo fmt -- --check
    environment:
      DATABASE_URL: postgres://postgres@localhost/campmaster