Skip to content

Commit

Permalink
Update ca-certificates before before building test environment
Browse files Browse the repository at this point in the history
Installation by cask and "make specs" may fail without it.
  • Loading branch information
yfyyfy committed Nov 22, 2021
1 parent c87ee3b commit 09271d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ install:
docker run --volume "$TRAVIS_BUILD_DIR":/flycheck \
--workdir /flycheck \
flycheck/emacs-cask:$EMACS_VERSION \
/bin/bash -c "make init";;
/bin/bash -c "apt-get -qq update && apt-get install -y --only-upgrade ca-certificates && make init";;
build-manual)
# Install requirements of documentation
pip install -r doc/requirements.txt;;
Expand All @@ -68,7 +68,7 @@ script:
docker run --volume "$TRAVIS_BUILD_DIR":/flycheck \
--workdir /flycheck \
flycheck/emacs-cask:$EMACS_VERSION \
/bin/bash -c "make compile && make unit && make specs"
/bin/bash -c "apt-get -qq update && apt-get install -y --only-upgrade ca-certificates && make compile && make unit && make specs"
# If the unit tests succeed, fetch the all-tools container
# and run the integration tests
docker build --build-arg EMACS_VERSION=$EMACS_VERSION \
Expand Down
2 changes: 2 additions & 0 deletions .travis/tools-and-emacs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ FROM flycheck/emacs-cask:${EMACS_VERSION} AS emacs-cask

FROM flycheck/all-tools

RUN apt-get -qq update && apt-get install -y --only-upgrade ca-certificates

# We need gnutls for downloading packages from ELPA
RUN apt-get -qq update && \
apt-get install -qq --no-install-recommends -y \
Expand Down

0 comments on commit 09271d2

Please sign in to comment.