92f07a544b
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.
34 lines
1 KiB
YAML
34 lines
1 KiB
YAML
language: node_js
|
|
|
|
node_js:
|
|
- "lts/*"
|
|
|
|
services:
|
|
- docker
|
|
|
|
env:
|
|
global:
|
|
- secure: "WMGxFkOeTTlhWB+ChMucRtIqVmMbwzYdNHuHQjKCcj8HBEPdZLfCuK/kf4rG\nVLcLQiIsyllqzNhBGVHG1nyqWr0/LTm8JRqSCDDVIhpyzp9KpCJQQJG2Uwjk\n6/HIJJh/wbxsEdLNV2crYU/EiVO3A4Bq0YTHUlbhUqG3mSCr5Ec="
|
|
- secure: "gejXUAHYscbR6Bodw35XexpToqWkv2ifeECsbeEmjaLkYzXmUUNWJGknKSu7\nEUsSfQV8w+hxApr1Z+jNqk9aX3K1I4btL3cwk2trnNI8XRAvu1c1Iv60eerI\nkE82Rsd5lwUaMEh+/HoL8ztFCZamVndoNgX7HWp5J/NRZZMmh4g="
|
|
|
|
jobs:
|
|
include:
|
|
- name: "Test the Frontend"
|
|
install:
|
|
- "bin/installDeps.sh"
|
|
- "export GIT_HASH=$(git rev-parse --verify --short HEAD)"
|
|
- "npm install ep_test_line_attrib"
|
|
script:
|
|
- "tests/frontend/travis/runner.sh"
|
|
- name: "Test the Dockerfile"
|
|
install:
|
|
- "cd src && npm install && cd -"
|
|
script:
|
|
- "docker build -t etherpad:test ."
|
|
- "docker run -d -p 9001:9001 etherpad:test && sleep 3"
|
|
- "cd src && npm run test-container"
|
|
|
|
notifications:
|
|
irc:
|
|
channels:
|
|
- "irc.freenode.org#etherpad-lite-dev"
|