summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2020-01-24 22:09:03 +0100
committerGiampaolo Rodola <g.rodola@gmail.com>2020-01-24 22:09:03 +0100
commit9dc9dab30f80cc734c170c06f59474cb7102c616 (patch)
tree368a5f20a38c483b2d5868b1987ea2872398df32
parent356d83ce0706b3a84964931d9cb72449e50eed7e (diff)
downloadpsutil-9dc9dab30f80cc734c170c06f59474cb7102c616.tar.gz
Cirrus: enable python 2
-rw-r--r--.cirrus.yml19
1 files changed, 17 insertions, 2 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index d86f7e4c..6245a0ca 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -1,4 +1,4 @@
-freebsd_12_1_task:
+freebsd_12_1_py3_task:
freebsd_instance:
image: freebsd-12-1-release-amd64
env:
@@ -8,7 +8,22 @@ freebsd_12_1_task:
script:
- python3 -m pip install --user setuptools flake8 ipaddress mock
- make clean
- - make build
+ - make install
+ - make test
+ - make test-memleaks
+ - PSUTIL_TESTING=1 python3 -Wa scripts/internal/print_access_denied.py
+ - PSUTIL_TESTING=1 python3 -Wa scripts/internal/print_api_speed.py
+
+freebsd_12_1_py2_task:
+ freebsd_instance:
+ image: freebsd-12-1-release-amd64
+ env:
+ CIRRUS: 1
+ install_script:
+ - pkg install -y python gcc py27-pip
+ script:
+ - python3 -m pip install --user setuptools flake8 ipaddress mock
+ - make clean
- make install
- make test
- make test-memleaks