ci: test basic application response of the docker build

Note by muxator:
This commit introduced a copied & modified version of the testing files
loadSettings.js and pad.js.

It's Christmas night, and we want to shipt this feature, so I merged it anyway,
adding a note in both the original and copied files so that hopefully someone
in the distant future is going to merge them back again.
This commit is contained in:
Pierre Prinetti 2019-12-03 23:14:00 +01:00 committed by muxator
parent 69fd393708
commit 92f07a544b
6 changed files with 91 additions and 4 deletions

View file

@ -21,8 +21,12 @@ jobs:
script:
- "tests/frontend/travis/runner.sh"
- name: "Test the Dockerfile"
install:
- "cd src && npm install && cd -"
script:
- "docker build ."
- "docker build -t etherpad:test ."
- "docker run -d -p 9001:9001 etherpad:test && sleep 3"
- "cd src && npm run test-container"
notifications:
irc: