sudo: required

language: bash

services:
- docker

install:
- docker pull swipl:stable

script:
- docker run -it --name test --entrypoint=/bin/bash -v ${PWD}:/logtalk3 library/swipl -c "/logtalk3/scripts/install.sh && logtalk_user_setup && cd ~/logtalk/tests/logtalk && logtalk_tester -p swi && cd ~/logtalk/tools && logtalk_tester -p swi && cd ~/logtalk/examples && logtalk_tester -p swi && cd ~/logtalk/contributions && logtalk_tester -p swi && cd ~/logtalk/ports && logtalk_tester -p swi"
