Skip to content

Commit 83cb0d7

Browse files
authored
Merge pull request #118 from VisionSystemsInc/circle_sub
circleci: vxl/pybind11 versions, unittest
2 parents aabb1b5 + 17ad053 commit 83cb0d7

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

.circleci/config.yml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,25 @@ jobs:
1212
set -e
1313
apt-get update
1414
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends python3-dev python3-pip
15-
pip3 install numpy unittest2
15+
pip3 install numpy
1616
mkdir -p /build /install
1717
mkdir -p /source/vxl /source/pybind11 /source/pyvxl
18-
git clone https://github.com/vxl/vxl.git /source/vxl
19-
git clone https://github.com/pybind/pybind11.git /source/pybind11
18+
19+
- run:
20+
name: Checkout VXL & pybind11
21+
command: |
22+
23+
# clone vxl, optionally checkout specific version, report
24+
VXL_DIR="/source/vxl"
25+
git clone -b "${VXL_VERSION:-master}" \
26+
https://github.com/vxl/vxl.git "${VXL_DIR}"
27+
echo "git describe vxl = $(git -C "${VXL_DIR}" describe --tags HEAD --always)"
28+
29+
# clone pybind11, optionally checkout specific version, report
30+
PYBIND11_DIR="/source/pybind11"
31+
git clone -b "${PYBIND11_VERSION:-master}" \
32+
https://github.com/pybind/pybind11.git "${PYBIND11_DIR}"
33+
echo "git describe pybind11 = $(git -C "${PYBIND11_DIR}" describe --tags HEAD --always)"
2034
2135
- checkout:
2236
path: /source/pyvxl
@@ -41,7 +55,7 @@ jobs:
4155
- run:
4256
name: test
4357
working_directory: /source/pyvxl
44-
command: unit2 discover -v test
58+
command: python3 -m unittest discover -v test
4559

4660

4761
workflows:

0 commit comments

Comments
 (0)