Drop Travis Linux build in favour of GitLab CI

Fold build-travis-deps.sh into .gitlab-ci.yml.

Preparation for the next change, which would break the Travis Linux
build.

Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Michel Dänzer
2018-12-13 18:29:31 +01:00
committed by Michel Dänzer
parent 0e541b1093
commit ed44f9cd6a
3 changed files with 21 additions and 44 deletions

View File

@@ -1,30 +0,0 @@
#!/bin/sh
export PREFIX=/usr
export TRAVIS_BUILD_DIR=/root
export PIGLIT_DIR=$TRAVIS_BUILD_DIR/piglit
export XTEST_DIR=$TRAVIS_BUILD_DIR/xts
cat > "$PIGLIT_DIR"/piglit.conf << _EOF_
[xts]
path=$XTEST_DIR
_EOF_
# awful
cp test/tetexec.cfg $XTEST_DIR/xts5
set -x
meson -Dprefix=$PREFIX build/
ninja -C build/ install
ninja -C build/ test
status=$?
cat build/meson-logs/testlog.txt
cat build/test/piglit-results/xvfb/long-summary || :
# there should be a better way of extracting results, but:
# find build/test/piglit-results/xvfb/ | grep setfontpath | xargs cat
# isn't the worst thing ever
exit $status