mirror of https://github.com/vector-im/riot-web
Enable e2e and Riot tests, removing Karma
parent
3591f802a8
commit
9f04f94c65
|
@ -54,77 +54,50 @@ steps:
|
||||||
- docker#v3.0.1:
|
- docker#v3.0.1:
|
||||||
image: "node:12"
|
image: "node:12"
|
||||||
|
|
||||||
# - label: ":chains: End-to-End Tests"
|
- label: ":chains: End-to-End Tests"
|
||||||
# agents:
|
agents:
|
||||||
# # We use a xlarge sized instance instead of the normal small ones because
|
# We use a xlarge sized instance instead of the normal small ones because
|
||||||
# # e2e tests otherwise take +-8min
|
# e2e tests otherwise take +-8min
|
||||||
# queue: "xlarge"
|
queue: "xlarge"
|
||||||
# command:
|
command:
|
||||||
# # TODO: Remove hacky chmod for BuildKite
|
# TODO: Remove hacky chmod for BuildKite
|
||||||
# - "echo '--- Setup'"
|
- "echo '--- Setup'"
|
||||||
# - "chmod +x ./scripts/ci/*.sh"
|
- "chmod +x ./scripts/ci/*.sh"
|
||||||
# - "chmod +x ./scripts/*"
|
- "chmod +x ./scripts/*"
|
||||||
# - "echo '--- Install js-sdk'"
|
- "echo '--- Install js-sdk'"
|
||||||
# - "./scripts/ci/install-deps.sh"
|
- "./scripts/ci/install-deps.sh"
|
||||||
# - "./scripts/ci/end-to-end-tests.sh"
|
- "./scripts/ci/end-to-end-tests.sh"
|
||||||
# plugins:
|
plugins:
|
||||||
# - docker#v3.0.1:
|
- docker#v3.0.1:
|
||||||
# image: "matrixdotorg/riotweb-ci-e2etests-env:latest"
|
image: "matrixdotorg/riotweb-ci-e2etests-env:latest"
|
||||||
# propagate-environment: true
|
propagate-environment: true
|
||||||
#
|
|
||||||
# - label: ":karma: Tests"
|
- label: "🔧 Riot Tests"
|
||||||
# agents:
|
agents:
|
||||||
# # We use a medium sized instance instead of the normal small ones because
|
# We use a medium sized instance instead of the normal small ones because
|
||||||
# # webpack loves to gorge itself on resources.
|
# webpack loves to gorge itself on resources.
|
||||||
# queue: "medium"
|
queue: "medium"
|
||||||
# command:
|
command:
|
||||||
# # Install chrome
|
# Install chrome
|
||||||
# - "echo '--- Installing Chrome'"
|
- "echo '--- Installing Chrome'"
|
||||||
# - "wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -"
|
- "wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -"
|
||||||
# - "sh -c 'echo \"deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main\" >> /etc/apt/sources.list.d/google.list'"
|
- "sh -c 'echo \"deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main\" >> /etc/apt/sources.list.d/google.list'"
|
||||||
# - "apt-get update"
|
- "apt-get update"
|
||||||
# - "apt-get install -y google-chrome-stable"
|
- "apt-get install -y google-chrome-stable"
|
||||||
# # Run tests
|
# Run tests
|
||||||
# # TODO: Remove hacky chmod for BuildKite
|
# TODO: Remove hacky chmod for BuildKite
|
||||||
# - "chmod +x ./scripts/ci/*.sh"
|
- "chmod +x ./scripts/ci/*.sh"
|
||||||
# - "chmod +x ./scripts/*"
|
- "chmod +x ./scripts/*"
|
||||||
# - "echo '--- Installing Dependencies'"
|
- "echo '--- Installing Dependencies'"
|
||||||
# - "./scripts/ci/install-deps.sh"
|
- "./scripts/ci/install-deps.sh"
|
||||||
# - "echo '+++ Running Tests'"
|
- "echo '+++ Running Tests'"
|
||||||
# - "./scripts/ci/unit-tests.sh"
|
- "./scripts/ci/riot-unit-tests.sh"
|
||||||
# env:
|
env:
|
||||||
# CHROME_BIN: "/usr/bin/google-chrome-stable"
|
CHROME_BIN: "/usr/bin/google-chrome-stable"
|
||||||
# plugins:
|
plugins:
|
||||||
# - docker#v3.0.1:
|
- docker#v3.0.1:
|
||||||
# image: "node:10"
|
image: "node:10"
|
||||||
# propagate-environment: true
|
propagate-environment: true
|
||||||
#
|
|
||||||
# - label: "🔧 Riot Tests"
|
|
||||||
# agents:
|
|
||||||
# # We use a medium sized instance instead of the normal small ones because
|
|
||||||
# # webpack loves to gorge itself on resources.
|
|
||||||
# queue: "medium"
|
|
||||||
# command:
|
|
||||||
# # Install chrome
|
|
||||||
# - "echo '--- Installing Chrome'"
|
|
||||||
# - "wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -"
|
|
||||||
# - "sh -c 'echo \"deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main\" >> /etc/apt/sources.list.d/google.list'"
|
|
||||||
# - "apt-get update"
|
|
||||||
# - "apt-get install -y google-chrome-stable"
|
|
||||||
# # Run tests
|
|
||||||
# # TODO: Remove hacky chmod for BuildKite
|
|
||||||
# - "chmod +x ./scripts/ci/*.sh"
|
|
||||||
# - "chmod +x ./scripts/*"
|
|
||||||
# - "echo '--- Installing Dependencies'"
|
|
||||||
# - "./scripts/ci/install-deps.sh"
|
|
||||||
# - "echo '+++ Running Tests'"
|
|
||||||
# - "./scripts/ci/riot-unit-tests.sh"
|
|
||||||
# env:
|
|
||||||
# CHROME_BIN: "/usr/bin/google-chrome-stable"
|
|
||||||
# plugins:
|
|
||||||
# - docker#v3.0.1:
|
|
||||||
# image: "node:10"
|
|
||||||
# propagate-environment: true
|
|
||||||
|
|
||||||
- label: "🌐 i18n"
|
- label: "🌐 i18n"
|
||||||
command:
|
command:
|
||||||
|
|
Loading…
Reference in New Issue