Merge pull request #2251 from matrix-org/bwindels/noe2eforredesign

disable e2e tests for PRs targeted at experimental (redesign)
This commit is contained in:
Bruno Windels 2018-10-26 09:13:30 +00:00 committed by GitHub
commit e799b30b89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,12 +27,15 @@ npm run build
npm run test npm run test
popd popd
# run end to end tests if [ "$TRAVIS_BRANCH" != "experimental" ]
git clone https://github.com/matrix-org/matrix-react-end-to-end-tests.git --branch master then
pushd matrix-react-end-to-end-tests # run end to end tests
ln -s $REACT_SDK_DIR/$RIOT_WEB_DIR riot/riot-web git clone https://github.com/matrix-org/matrix-react-end-to-end-tests.git --branch master
# PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true ./install.sh pushd matrix-react-end-to-end-tests
# CHROME_PATH=$(which google-chrome-stable) ./run.sh ln -s $REACT_SDK_DIR/$RIOT_WEB_DIR riot/riot-web
./install.sh # PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true ./install.sh
./run.sh --travis # CHROME_PATH=$(which google-chrome-stable) ./run.sh
popd ./install.sh
./run.sh --travis
popd
fi