Skip to content

Commit b2803e1

Browse files
authored
Create .cirrus.yml
1 parent 33b7c87 commit b2803e1

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.cirrus.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Cirrus CI configuration for FreeBSD
2+
3+
freebsd_instance:
4+
image_family: freebsd-14-2
5+
cpu: 2
6+
memory: 4G
7+
8+
env:
9+
PYTHON_VERSION: 3.11
10+
11+
task:
12+
name: FreeBSD Python Tests
13+
freebsd_instance:
14+
image_family: freebsd-14-2
15+
install_script:
16+
- sudo pkg install -y python${PYTHON_VERSION} py${PYTHON_VERSION}-pip git
17+
- sudo ln -s /usr/local/bin/python${PYTHON_VERSION} /usr/local/bin/python
18+
- sudo ln -s /usr/local/bin/pip${PYTHON_VERSION} /usr/local/bin/pip
19+
- pip install --upgrade pip
20+
- pip install psycopg2-binary mysql-connector-python pymongo boto3 ibm-db
21+
test_script:
22+
- python --version
23+
- python -m unittest discover -s tests -p 'test_*.py'

0 commit comments

Comments
 (0)