mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-21 18:23:03 +00:00
CI: remove useless apt-get update
The apt addons already ran it for us, it is not needed. * .travis.yml: here.
This commit is contained in:
@@ -36,7 +36,6 @@ jobs:
|
|||||||
- stage: "compile"
|
- stage: "compile"
|
||||||
dist: xenial
|
dist: xenial
|
||||||
script:
|
script:
|
||||||
- sudo apt-get update -qq
|
|
||||||
- sudo apt-get install -qq autoconf automake autopoint flex gettext graphviz help2man m4 texinfo
|
- sudo apt-get install -qq autoconf automake autopoint flex gettext graphviz help2man m4 texinfo
|
||||||
- autoconf --version
|
- autoconf --version
|
||||||
- automake --version
|
- automake --version
|
||||||
@@ -377,7 +376,7 @@ jobs:
|
|||||||
## From https://docs.gitlab.com/ce/ci/ssh_keys/#ssh-keys-when-using-the-docker-executor.
|
## From https://docs.gitlab.com/ce/ci/ssh_keys/#ssh-keys-when-using-the-docker-executor.
|
||||||
## Applies to Travis too. Applied to all the 'script's (of all the jobs).
|
## Applies to Travis too. Applied to all the 'script's (of all the jobs).
|
||||||
before_script:
|
before_script:
|
||||||
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
|
- 'which ssh-agent || ( sudo apt-get install openssh-client -y )'
|
||||||
- eval "$(ssh-agent -s)"
|
- eval "$(ssh-agent -s)"
|
||||||
# $SSH_PRIVATE_KEY is multiline. Use $'...' to register its value: $'-----BEGIN OPENSSH PRIVATE KEY-----\nXXXXX...\n...==\n-----END OPENSSH PRIVATE KEY-----'.
|
# $SSH_PRIVATE_KEY is multiline. Use $'...' to register its value: $'-----BEGIN OPENSSH PRIVATE KEY-----\nXXXXX...\n...==\n-----END OPENSSH PRIVATE KEY-----'.
|
||||||
- echo "$SSH_PRIVATE_KEY" >/tmp/key.id_rsa
|
- echo "$SSH_PRIVATE_KEY" >/tmp/key.id_rsa
|
||||||
@@ -393,7 +392,6 @@ script:
|
|||||||
- eval "$MATRIX_EVAL"
|
- eval "$MATRIX_EVAL"
|
||||||
# Beware not too leak $SSH_PRIVATE_KEY.
|
# Beware not too leak $SSH_PRIVATE_KEY.
|
||||||
# - env
|
# - env
|
||||||
- sudo apt-get update -qq
|
|
||||||
- sudo apt-get install -qq doxygen flex m4
|
- sudo apt-get install -qq doxygen flex m4
|
||||||
# Install and activate ICC.
|
# Install and activate ICC.
|
||||||
- if [[ $CC == "icc" ]]; then build-aux/install-icc.sh; fi
|
- if [[ $CC == "icc" ]]; then build-aux/install-icc.sh; fi
|
||||||
|
|||||||
Reference in New Issue
Block a user