Procházet zdrojové kódy

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@b615ed8f750e45017b1ad070ef893d1e2552633a

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

* Pin bats to latest release on Travis CI
pull/1586/head
Claudio Jolowicz před 6 roky
odevzdal GitHub
rodič
revize
e394cb898d
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: 4AEE18F83AFDEB23
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +1
    -1
      .travis.yml
  2. +1
    -1
      Makefile

+ 1
- 1
.travis.yml Zobrazit soubor

@ -32,7 +32,7 @@ env:
before_install:
- date +%Y-%m-%dT%H:%M:%S
install: git clone --depth 1 https://github.com/bats-core/bats-core.git bats
install: git clone --depth 1 --branch v1.2.0 https://github.com/bats-core/bats-core.git bats
# Default for auto-generated jobs.
script: make test-build

+ 1
- 1
Makefile Zobrazit soubor

@ -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

Načítá se…
Zrušit
Uložit