aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml24
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