sudo: required

language: bash

services:
- docker

install:
- docker pull swipl:stable
- sudo LogtalkDotOrg/logtalk3/scripts/install.sh

script:
- docker run -it --name test --entrypoint=/bin/bash library/swipl -c "logtalk_user_setup && cd ~/logtalk/tests/logtalk && logtalk_tester"

sudo: required

language: bash

services:
- docker

install:
- docker pull swipl:stable
- sudo scripts/install.sh

script:
- docker run -it --name test --entrypoint=/bin/bash library/swipl -c "logtalk_user_setup && cd ~/logtalk/tests/logtalk && logtalk_tester"

Fix Logtalk install when running Travis CI builds
Fix Logtalk install when running Travis CI builds
