Closed grantmacken closed 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.
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
[x] changing password with client.jar checks the ability to
[x] obtain running container eXist 'version' checks the ability to
[x] posting requests to rest endpoint url via CURL checks the ability to
[x] persist changed configuration items checks the abilty to
[x] log to docker logs checks the abilty to
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