#!/usr/bin/env bash

set -euo pipefail

for step in lint typecheck unit-tests; do
  make "$step" -e py_env=~/virtualenv/python$TRAVIS_PYTHON_VERSION
done

#!/usr/bin/env bash

if [ -z "$TRAVIS_PYTHON_VERSION" ]; then
  echo "Build is not targetting a Python version, can't run CI" >&2; exit 1
fi

set -euo pipefail

for step in lint typecheck unit-tests; do
  make "$step" -e py_env=~/virtualenv/python$TRAVIS_PYTHON_VERSION
done

Verify CI script pre-conditions before running
Verify CI script pre-conditions before running
