tests: re-enable docker tests in travis (#4395)
Thanks to node10 having better support we can re-enable these tests.pull/4397/head
parent
52f8fc9ba3
commit
92d4b8b649
30
.travis.yml
30
.travis.yml
|
@ -47,14 +47,13 @@ jobs:
|
||||||
- "cd src && npm install && cd -"
|
- "cd src && npm install && cd -"
|
||||||
script:
|
script:
|
||||||
- "tests/frontend/travis/runnerBackend.sh"
|
- "tests/frontend/travis/runnerBackend.sh"
|
||||||
## Temporarily commented out the Dockerfile tests
|
- name: "Test the Dockerfile"
|
||||||
# - name: "Test the Dockerfile"
|
install:
|
||||||
# install:
|
- "cd src && npm install && cd -"
|
||||||
# - "cd src && npm install && cd -"
|
script:
|
||||||
# script:
|
- "docker build -t etherpad:test ."
|
||||||
# - "docker build -t etherpad:test ."
|
- "docker run -d -p 9001:9001 etherpad:test && sleep 3"
|
||||||
# - "docker run -d -p 9001:9001 etherpad:test && sleep 3"
|
- "cd src && npm run test-container"
|
||||||
# - "cd src && npm run test-container"
|
|
||||||
- name: "Load test Etherpad without Plugins"
|
- name: "Load test Etherpad without Plugins"
|
||||||
install:
|
install:
|
||||||
- "bin/installDeps.sh"
|
- "bin/installDeps.sh"
|
||||||
|
@ -83,14 +82,13 @@ jobs:
|
||||||
- "cd src && npm install && cd -"
|
- "cd src && npm install && cd -"
|
||||||
script:
|
script:
|
||||||
- "tests/frontend/travis/runnerBackend.sh"
|
- "tests/frontend/travis/runnerBackend.sh"
|
||||||
## Temporarily commented out the Dockerfile tests
|
- name: "Test the Dockerfile"
|
||||||
# - name: "Test the Dockerfile"
|
install:
|
||||||
# install:
|
- "cd src && npm install && cd -"
|
||||||
# - "cd src && npm install && cd -"
|
script:
|
||||||
# script:
|
- "docker build -t etherpad:test ."
|
||||||
# - "docker build -t etherpad:test ."
|
- "docker run -d -p 9001:9001 etherpad:test && sleep 3"
|
||||||
# - "docker run -d -p 9001:9001 etherpad:test && sleep 3"
|
- "cd src && npm run test-container"
|
||||||
# - "cd src && npm run test-container"
|
|
||||||
- name: "Load test Etherpad with Plugins"
|
- name: "Load test Etherpad with Plugins"
|
||||||
install:
|
install:
|
||||||
- "bin/installDeps.sh"
|
- "bin/installDeps.sh"
|
||||||
|
|
|
@ -16,7 +16,7 @@ cd "${MY_DIR}/../../../"
|
||||||
# This is possible because the "install" section of .travis.yml already contains
|
# This is possible because the "install" section of .travis.yml already contains
|
||||||
# a call to bin/installDeps.sh
|
# a call to bin/installDeps.sh
|
||||||
echo "Running Etherpad directly, assuming bin/installDeps.sh has already been run"
|
echo "Running Etherpad directly, assuming bin/installDeps.sh has already been run"
|
||||||
node node_modules/ep_etherpad-lite/node/server.js "${@}" &
|
node node_modules/ep_etherpad-lite/node/server.js --experimental-worker "${@}" &
|
||||||
|
|
||||||
echo "Now I will try for 15 seconds to connect to Etherpad on http://localhost:9001"
|
echo "Now I will try for 15 seconds to connect to Etherpad on http://localhost:9001"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue