#!/bin/bash
set -e

QUILT_PATCHES=debian/patches quilt push -a || true
for py in $(py3versions -s)
do
	echo "[*] testing on $py:"
	$py -Wd -m nose -v tests 2>&1
	$py -c "import fluent; print(fluent)"
done
QUILT_PATCHES=debian/patches quilt pop -a || true

echo "PASS"
