run both react-sdk and riot-web tests
This commit is contained in:
parent
509ae4cea4
commit
45558f5323
3 changed files with 17 additions and 4 deletions
|
@ -30,3 +30,6 @@ matrix:
|
||||||
- name: Unit Tests
|
- name: Unit Tests
|
||||||
script:
|
script:
|
||||||
- ./scripts/travis/unit-tests.sh
|
- ./scripts/travis/unit-tests.sh
|
||||||
|
- name: Riot-web Unit Tests
|
||||||
|
script:
|
||||||
|
- ./scripts/travis/riot-unit-tests.sh
|
||||||
|
|
14
scripts/travis/riot-unit-tests.sh
Normal file
14
scripts/travis/riot-unit-tests.sh
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# script which is run by the travis build (after `npm run test`).
|
||||||
|
#
|
||||||
|
# clones riot-web develop and runs the tests against our version of react-sdk.
|
||||||
|
|
||||||
|
set -ev
|
||||||
|
|
||||||
|
RIOT_WEB_DIR=riot-web
|
||||||
|
|
||||||
|
scripts/travis/build.sh
|
||||||
|
pushd "$RIOT_WEB_DIR"
|
||||||
|
npm run test
|
||||||
|
popd
|
|
@ -6,9 +6,5 @@
|
||||||
|
|
||||||
set -ev
|
set -ev
|
||||||
|
|
||||||
RIOT_WEB_DIR=riot-web
|
|
||||||
|
|
||||||
scripts/travis/build.sh
|
scripts/travis/build.sh
|
||||||
pushd "$RIOT_WEB_DIR"
|
|
||||||
npm run test
|
npm run test
|
||||||
popd
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue