Permalink
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (27 sloc) 1004 Bytes
# Test compatibility with applications written in ksh
sudo: required
services:
- docker
matrix:
include:
- os: linux
env:
- PROJECT_NAME=kshdb
GIT_URL="https://github.com/rocky/kshdb.git"
COMMANDS="git checkout att-ksh93v-testing; ksh ./autogen.sh; make test"
# These tests are run from yash fork that contains list of tests and a test runner script
- os: linux
env:
- PROJECT_NAME=yash
GIT_URL="https://github.com/siteshwar/yash.git"
COMMANDS="git checkout ksh-tests; cd tests; LANG=C ./run-ksh-tests.sh"
script:
- docker pull fedora
# Test builds from https://copr.fedorainfracloud.org/coprs/g/ksh/latest/
- docker run fedora bash -c "
dnf install -y 'dnf-command(copr)';
dnf copr enable -y @ksh/latest;
dnf install -y ksh git autoconf automake make findutils yash;
git clone $GIT_URL;
cd $PROJECT_NAME;
$COMMANDS"