~sirodoht/mataroa

ref: e41ccd0181757f64258e9cad93ade228687cb614 mataroa/.build.yml -rw-r--r-- 526 bytes
e41ccd01Theodore Keloglou add dark mode 10 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
image: ubuntu/20.04
packages:
  - python3
  - python3-pip
  - postgresql
tasks:
  - build: |
      cd mataroa
      pip3 install -r requirements.txt
  - test: |
      cd mataroa
      sudo -u postgres psql -U postgres -d postgres -c "ALTER USER postgres WITH PASSWORD 'postgres';"
      export DATABASE_URL='postgres://postgres:postgres@localhost:5432/postgres'
      python3 manage.py test
  - lint: |
      cd mataroa
      pip3 install -r requirements_dev.txt
      export PATH=/home/build/.local/bin:$PATH
      make lint