~sirodoht/mataroa

mataroa/.build.yml -rw-r--r-- 656 bytes
521adb51Theodore Keloglou fix page ul ol serif theme 3 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 DEBUG=1
      export DATABASE_URL='postgres://postgres:postgres@localhost:5432/postgres'
      python3 manage.py collectstatic --noinput
      python3 manage.py test
  - lint: |
      sudo -u root apt install shellcheck
      cd mataroa
      touch .envrc
      pip3 install -r requirements_dev.txt
      export PATH=/home/build/.local/bin:$PATH
      make lint