Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
Weblate 2018-08-03 10:42:34 +00:00
commit f47e0ebc65
2 changed files with 15 additions and 1 deletions

View file

@ -10,7 +10,7 @@ RIOT_WEB_DIR=riot-web
REACT_SDK_DIR=`pwd` REACT_SDK_DIR=`pwd`
scripts/fetchdep.sh vector-im riot-web scripts/fetchdep.sh vector-im riot-web
cd "$RIOT_WEB_DIR" pushd "$RIOT_WEB_DIR"
mkdir node_modules mkdir node_modules
npm install npm install
@ -23,4 +23,16 @@ ln -s "$REACT_SDK_DIR/node_modules/matrix-js-sdk" node_modules/matrix-js-sdk
rm -r node_modules/matrix-react-sdk rm -r node_modules/matrix-react-sdk
ln -s "$REACT_SDK_DIR" node_modules/matrix-react-sdk ln -s "$REACT_SDK_DIR" node_modules/matrix-react-sdk
npm run build
npm run test npm run test
popd
# run end to end tests
git clone https://github.com/matrix-org/matrix-react-end-to-end-tests.git --branch master
pushd matrix-react-end-to-end-tests
ln -s $REACT_SDK_DIR/$RIOT_WEB_DIR riot/riot-web
# PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true ./install.sh
# CHROME_PATH=$(which google-chrome-stable) ./run.sh
./install.sh
./run.sh
popd

View file

@ -15,5 +15,7 @@ addons:
chrome: stable chrome: stable
install: install:
- npm install - npm install
# install synapse prerequisites for end to end tests
- sudo apt-get install build-essential python2.7-dev libffi-dev python-pip python-setuptools sqlite3 libssl-dev python-virtualenv libjpeg-dev libxslt1-dev
script: script:
./scripts/travis.sh ./scripts/travis.sh