source: .build.yml

Last change on this file was 2071:b4c617f1285c, checked in by Stefan Schwarzer <sschwarzer@…>, 4 months ago
Update build base image to `fedora/34`
File size: 718 bytes
Line 
1# Build manifest for `builds.sr.ht`
2image: fedora/34
3
4packages:
5- ftp
6- podman
7- python3-docutils
8- python3.6
9- python3.7
10- python3.8
11- python3.9
12- python3.10
13
14sources:
15- hg+https://hg.sr.ht/~sschwarzer/ftputil
16
17tasks:
18- configure: |
19    cd ftputil
20    export DOCKER=podman
21    $DOCKER pull index.docker.io/stilliard/pure-ftpd
22    make run_test_server
23    python3.8 -m venv ~/ftputil_env
24    source ~/ftputil_env/bin/activate
25    pip install --no-color --progress-bar=off --upgrade pip
26    pip install --no-color --progress-bar=off freezegun pytest tox
27- test: |
28    cd ftputil
29    make docs
30    source ~/ftputil_env/bin/activate
31    tox
32
33triggers:
34- action: email
35  condition: failure
36  to: sschwarzer@sschwarzer.net
Note: See TracBrowser for help on using the repository browser.