Commit a56e6518 authored by Frediano Ziglio's avatar Frediano Ziglio

ci: Use Ubuntu Bionic for websocket-autobahn job

Autobahn testsuite is based on Python 2.
See https://github.com/crossbario/autobahn-testsuite/issues/109.

Temporarily use an Ubuntu LTS distro still having Python 2, this will
make the job work for some years.

Hoping in the future to either:
- update Autobahn testsuite to Python 3;
- finding another testsuite for websockets.
Signed-off-by: Frediano Ziglio's avatarFrediano Ziglio <freddy77@gmail.com>
Acked-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
parent 9af2193f
Pipeline #267457 passed with stage
in 13 minutes and 39 seconds
......@@ -164,12 +164,24 @@ makecheck-windows:
- mingw64-make LOG_COMPILE=wine -C server check || (cat server/tests/test-suite.log && exit 1)
websocket-autobahn:
before_script:
- apt-get update -y
- >
apt-get install -y
debhelper
gstreamer1.0-libav gstreamer1.0-plugins-base gstreamer1.0-plugins-good
gstreamer1.0-plugins-ugly gstreamer1.0-tools
libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev
libcacard-dev libglib2.0-dev
libjpeg-dev liblz4-dev libopus-dev libpixman-1-dev libsasl2-dev
libssl-dev pkg-config
python3-six python3-pyparsing liborc-0.4-dev git
g++ autoconf-archive python-pip
python3 python3-pip python3-setuptools python3-wheel ninja-build
- pip3 install meson
- *protocol
image: ubuntu:bionic
script:
- >
dnf install python27 python-unversioned-command curl
-y
- curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
- python2 get-pip.py
- pip2 install autobahntestsuite
- wstest -a
- git clean -fdx
......
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