image: ubuntu:xenial

cache:
  paths:
  - .m2/
  - .gradle/

before_script:
- apt-get --quiet update --yes
- apt-get --quiet install --yes openjdk-8-jdk
- apt-get --quiet install --yes graphviz

- chmod +x ./gradlew

build:
  script:
  - ./gradlew buildCI --scan
  artifacts:
    when: always
    paths:
    - build/site/

image: ubuntu:xenial

cache:
  paths:
  - .m2/
  - .gradle/

before_script:
- apt-get --quiet update --yes
- apt-get install -y locales >/dev/null
- echo "en_US UTF-8" > /etc/locale.gen
- locale-gen en_US.UTF-8
- export LANG=en_US.UTF-8
- export LANGUAGE=en_US:en
- export LC_ALL=en_US.UTF-8
- apt-get --quiet install --yes openjdk-8-jdk
- apt-get --quiet install --yes graphviz

- chmod +x ./gradlew

build:
  script:
  - ./gradlew buildCI --scan
  artifacts:
    when: always
    paths:
    - build/site/

Set Ubuntu locale to en_US and UTF-8 in GitLab CI
Set Ubuntu locale to en_US and UTF-8 in GitLab CI