summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz <louiz@louiz.org>2016-10-24 11:46:49 +0200
committerlouiz <louiz@louiz.org>2016-10-24 11:46:49 +0200
commite5aaf7f8f4c1dc022be8626feaa91caf56fd72ba (patch)
treedd3f4bce5ade2b23bc359112926f65eace844b95
parentfed21b7e9f3d08af7b4c30e5c75e2fabf2e80542 (diff)
parentb141f3ddeeb4d3cb66eca0a919595c3c661af2b5 (diff)
downloadbiboumi-e5aaf7f8f4c1dc022be8626feaa91caf56fd72ba.tar.gz
biboumi-e5aaf7f8f4c1dc022be8626feaa91caf56fd72ba.tar.bz2
biboumi-e5aaf7f8f4c1dc022be8626feaa91caf56fd72ba.tar.xz
biboumi-e5aaf7f8f4c1dc022be8626feaa91caf56fd72ba.zip
Merge branch 'fix_tests_encoding' into 'master'
Fix test encoding by setting LANG and LC_ALL to C.UTF-8 Because we don’t want to rely on each projet setting their own variable LC_ALL and LANG in gitlab’s CI preferences. See merge request !4
-rw-r--r--.gitlab-ci.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 484cdc0..b975134 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,8 @@
before_script:
- uname -a
- whoami
+ - export LC_ALL=C.UTF-8
+ - export LANG=C.UTF-8
- echo $LANG
- g++ --version
- clang++ --version
@@ -24,6 +26,8 @@ variables:
- cmake .. -DCMAKE_CXX_COMPILER=${COMPILER} -DCMAKE_BUILD_TYPE=${BUILD_TYPE} ${BOTAN} ${CARES} ${SYSTEMD} ${LIBIDN} ${LITESQL}
- make biboumi -j$(nproc)
- make check -j$(nproc)
+ tags:
+ - docker
image: biboumi-test-fedora:latest
@@ -68,6 +72,9 @@ build:6:
build:rpm:
stage: build
+ image: biboumi-test-fedora:latest
+ tags:
+ - docker
script:
- cmake .. -DCMAKE_CXX_COMPILER=${COMPILER} -DCMAKE_BUILD_TYPE=${BUILD_TYPE} ${BOTAN} ${CARES} ${SYSTEMD} ${LIBIDN} ${LITESQL}
- make rpm -j$(nproc)
@@ -98,11 +105,15 @@ build:rpm:
test:debian:
stage: test
image: biboumi-test-debian:latest
+ tags:
+ - docker
<<: *basic_test
test:fedora:
stage: test
image: biboumi-test-fedora:latest
+ tags:
+ - docker
<<: *basic_test
test:openbsd: