mirror of https://github.com/vector-im/riot-web
Add basic BuildKite :pipeline:
parent
5bf6206578
commit
618b2b1ae6
|
@ -0,0 +1,33 @@
|
|||
steps:
|
||||
- label: ":eslint: Lint"
|
||||
command:
|
||||
- "./scripts/ci/install-deps.sh"
|
||||
- "yarn lintwithexclusions"
|
||||
plugins:
|
||||
- docker#v3.0.1:
|
||||
image: "node:10"
|
||||
|
||||
- label: ":chrome: End-to-End Tests"
|
||||
command:
|
||||
- "sudo apt-get install build-essential python2.7-dev libffi-dev python-pip python-setuptools sqlite3 libssl-dev python-virtualenv libjpeg-dev libxslt1-dev"
|
||||
- "./scripts/ci/install-deps.sh"
|
||||
- "./scripts/ci/end-to-end-tests.sh"
|
||||
plugins:
|
||||
- docker#v3.0.1:
|
||||
image: "node:10"
|
||||
|
||||
- label: ":karma: Tests"
|
||||
command:
|
||||
- "./scripts/ci/install-deps.sh"
|
||||
- "./scripts/ci/unit-tests.sh"
|
||||
plugins:
|
||||
- docker#v3.0.1:
|
||||
image: "node:10"
|
||||
|
||||
- label: "🔧 Riot Tests"
|
||||
command:
|
||||
- "./scripts/ci/install-deps.sh"
|
||||
- "./scripts/ci/riot-unit-tests.sh"
|
||||
plugins:
|
||||
- docker#v3.0.1:
|
||||
image: "node:10"
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# script which is run by the travis build (after `yarn test`).
|
||||
# script which is run by the CI build (after `yarn test`).
|
||||
#
|
||||
# clones riot-web develop and runs the tests against our version of react-sdk.
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# script which is run by the travis build (after `yarn test`).
|
||||
# script which is run by the CI build (after `yarn test`).
|
||||
#
|
||||
# clones riot-web develop and runs the tests against our version of react-sdk.
|
||||
|
||||
|
@ -9,7 +9,7 @@ set -ev
|
|||
RIOT_WEB_DIR=riot-web
|
||||
REACT_SDK_DIR=`pwd`
|
||||
|
||||
scripts/travis/build.sh
|
||||
scripts/ci/build.sh
|
||||
# run end to end tests
|
||||
scripts/fetchdep.sh matrix-org matrix-react-end-to-end-tests master
|
||||
pushd matrix-react-end-to-end-tests
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# script which is run by the travis build (after `yarn test`).
|
||||
# script which is run by the CI build (after `yarn test`).
|
||||
#
|
||||
# clones riot-web develop and runs the tests against our version of react-sdk.
|
||||
|
||||
|
@ -8,7 +8,7 @@ set -ev
|
|||
|
||||
RIOT_WEB_DIR=riot-web
|
||||
|
||||
scripts/travis/build.sh
|
||||
scripts/ci/build.sh
|
||||
pushd "$RIOT_WEB_DIR"
|
||||
yarn test
|
||||
popd
|
|
@ -1,10 +1,10 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# script which is run by the travis build (after `yarn test`).
|
||||
# script which is run by the CI build (after `yarn test`).
|
||||
#
|
||||
# clones riot-web develop and runs the tests against our version of react-sdk.
|
||||
|
||||
set -ev
|
||||
|
||||
scripts/travis/build.sh
|
||||
scripts/ci/build.sh
|
||||
CHROME_BIN='/usr/bin/google-chrome-stable' yarn test
|
Loading…
Reference in New Issue