1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-08 11:33:49 -05:00

Fix CI by pinning bats to the latest release (1.2.0) (#1602)

* Pin bats to the latest release (1.2.0)

This fixes the following error when running `make test` with bats
installed from its master branch:

  /src/bats/libexec/bats-core/bats-exec-file:
  line 192:
  bats-exec-test:
  command not found

The Makefile currently runs bats from its master branch. This can lead
to errors when bats is broken between releases, as is currently the case
with bats at the following commit:

  bats-core/bats-core@b615ed8f75

Instead, use the latest release of bats, which is 1.2.0 (2020-04-25).

* Pin bats to latest release on Travis CI
This commit is contained in:
Claudio Jolowicz
2020-05-01 19:46:14 +02:00
committed by GitHub
parent 5e8719ab0e
commit e394cb898d
2 changed files with 2 additions and 2 deletions

View File

@@ -22,4 +22,4 @@ test-build:
$(PYTHON_BUILD_TEST_PREFIX)/bin/pip -V
bats:
git clone --depth 1 https://github.com/bats-core/bats-core.git bats
git clone --depth 1 --branch v1.2.0 https://github.com/bats-core/bats-core.git bats