Fix Cirrus CI FreeBSD python dependencies installation

This commit is contained in:
Jon Siwek 2020-01-06 10:51:07 -08:00
parent f1be24c4c1
commit 0cde6d2af5
3 changed files with 8 additions and 2 deletions

View file

@ -1,4 +1,8 @@
3.1.0-dev.350 | 2020-01-06 10:51:07 -0800
* Fix Cirrus CI FreeBSD python dependencies installation (Jon Siwek, Corelight)
3.1.0-dev.348 | 2020-01-06 11:19:36 -0700 3.1.0-dev.348 | 2020-01-06 11:19:36 -0700
* Increase timeout for a btest * Increase timeout for a btest

View file

@ -1 +1 @@
3.1.0-dev.348 3.1.0-dev.350

View file

@ -6,6 +6,8 @@ set -e
set -x set -x
env ASSUME_ALWAYS_YES=YES pkg bootstrap env ASSUME_ALWAYS_YES=YES pkg bootstrap
pkg install -y bash git cmake swig30 bison python3 py36-sqlite3 py36-pip base64 pkg install -y bash git cmake swig30 bison python3 base64
pyver=`python3 -c 'import sys; print(f"py{sys.version_info[0]}{sys.version_info[1]}")'`
pkg install -y $pyver-sqlite3 $pyver-pip
( cd && mkdir -p ./bin && ln -s /usr/local/bin/python3 ./bin/python ) ( cd && mkdir -p ./bin && ln -s /usr/local/bin/python3 ./bin/python )
pip install junit2html pip install junit2html