sudo: required
language: rust
services:
- docker
git:
submodules: false
before_install:
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
- git submodule update --init --recursive
- cat Dockerfile | docker build -t picoquic-rs -
script:
# We need to use 1 thread for the tests, because the calls to OpenSSL are not guarded.
- docker run --rm --user "$(id -u)":"$(id -g)" -v "$PWD":/src -w /src picoquic-rs cargo test --all -- --test-threads=1