eXist-db / docker-existdb

Docker image builder for eXist-db
GNU Affero General Public License v3.0
11 stars 6 forks source link

Enhance 27 functional tests for travis #30

Closed grantmacken closed 6 years ago

grantmacken commented 6 years ago

This is a rework or .travis.yml for issue #27 See last build on travis-ci

The following smoke tests are carried out on a running container instance of a freshly minted image The container is brought up with docker-composer

The following functional test checks are carried out on the first travis job stage

The main aim was to add run-time functional tests, that tests what we have altered in eXist specifically for the container image

27 issue Items not covered in this pull request

adamretter commented 6 years ago

Wow quite comprehensive.

I wonder if it would be worth splitting this into install and script steps - https://docs.travis-ci.com/user/customizing-the-build/#the-build-lifecycle

Also, perhaps it is better to extract the shell scripts from .travis.yml into a separate shell script. With a separate shell script, we can then also run the tests locally, and we can easily check and validate any syntax errors.