Commit 4274d966 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

Test in GitlabCI scripted in external file.

parent ca008207
Pipeline #1655 failed with stage
in 19 seconds
......@@ -11,7 +11,7 @@ stages:
build:
stage: build
script:
- /bin/bash -c 'apt-get install -y --force-yes xvfb ; Xvfb & export DISPLAY=:0 ; export GIT_SSL_NO_VERIFY=true ; source ~/.bashrc ; export TASTE_IN_DOCKER=1 ; /etc/init.d/postgresql start ; git fetch ; git checkout -f "${CI_COMMIT_BRANCH}" ; ./Update-TASTE.sh || exit 1 ; cd kazoo ; make test || exit 1 ; cd ../dmt ; LANG=C LC_ALL=C PATH=$PATH:$HOME/tool-inst/share/asn1scc/ make || exit 1'
- ./gitlabci-test.sh
artifacts:
paths:
- 'kazoo/test/logs/*.err.txt'
......
#!/bin/bash
set -euo pipefail
export DISPLAY=:0
export GIT_SSL_NO_VERIFY=true
source ~/.bashrc
export TASTE_IN_DOCKER=1
/etc/init.d/postgresql start
cd dmt
pip3 install -r requirements.txt
LANG=C LC_ALL=C PATH=$PATH:$HOME/tool-inst/share/asn1scc/ make
git fetch
git checkout -f "${CI_COMMIT_BRANCH}"
./Update-TASTE.sh
cd ../kazoo
apt-get install -y --force-yes xvfb
Xvfb &
make test
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment