diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-04-07 17:19:04 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-04-07 18:31:06 -0700 |
commit | 7234c73aa944d43ee2b3997ad4f3d71dbf2f0bf4 (patch) | |
tree | 3ac83f292cc19c13a8c1a97c56194e25a6e93825 | |
parent | d1f735c2fc95b2b6ff36b0637e7b9ca25de5a9f6 (diff) | |
download | sandcrawler-7234c73aa944d43ee2b3997ad4f3d71dbf2f0bf4.tar.gz sandcrawler-7234c73aa944d43ee2b3997ad4f3d71dbf2f0bf4.zip |
gitlab CI: switch to ubuntu:focal
-rw-r--r-- | .gitlab-ci.yml | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7fd8ef1..044f9bd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,25 +1,21 @@ -image: ubuntu:xenial + +image: ubuntu:focal + +variables: + LC_ALL: "C.UTF-8" + LANG: "C.UTF-8" + DEBIAN_FRONTEND: "noninteractive" + before_script: - apt update -qy - - apt install -y --no-install-recommends apt-transport-https software-properties-common curl - - add-apt-repository -y ppa:deadsnakes/ppa - - add-apt-repository -y ppa:cran/poppler - # kitware (cmake) APT signing key - - curl -s https://apt.kitware.com/keys/kitware-archive-latest.asc | apt-key add - - - apt-add-repository -y 'deb https://apt.kitware.com/ubuntu/ xenial main' + - apt install -y --no-install-recommends apt-transport-https software-properties-common curl dirmngr # SBT bintray APT signing key - apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823 - apt-add-repository -y "deb https://dl.bintray.com/sbt/debian /" - apt update -qy - - apt install -y --no-install-recommends python3-dev python3-pip python3-wheel libjpeg-dev openjdk-8-jdk-headless sbt libpq-dev python-dev python3.8 python3.8-dev python3.8-venv python3.8-distutils pkg-config python3-pytest git libsnappy-dev libsodium-dev libpoppler-cpp-dev cmake libpython3.8-dev build-essential poppler-data libmagic1 - - python3 -m pip install --upgrade pip - - python3 -m pip install pipenv + - apt install -y --no-install-recommends python3-dev python3-pip python3-wheel libjpeg-dev openjdk-8-jdk-headless sbt libpq-dev python-dev python3.8 python3.8-dev python3.8-venv python3.8-distutils pkg-config python3-pytest git libsnappy-dev libsodium-dev libpoppler-cpp-dev cmake libpython3.8-dev build-essential poppler-data libmagic1 pipenv - pipenv --version -variables: - LC_ALL: "C.UTF-8" - LANG: "C.UTF-8" - test_python: script: - cd python |