blob: 2ad5603a24e82ca1b930d35bc2c817153694b40c [file] [log] [blame]
#!/bin/bash
set -e
ROOT=$PWD
pip install -U tox codecov
cd tools
tox
if [ $TOXENV == "py27" ] || [ $TOXENV == "pypy" ]; then
cd wptrunner
tox
cd $ROOT
pip install --requirement tools/browserutils/requirements.txt
python tools/browserutils/install.py firefox browser --destination $HOME
python tools/browserutils/install.py firefox webdriver --destination $HOME/firefox
export PATH=$HOME/firefox:$PATH
cd $ROOT/resources/test
tox
fi
cd $ROOT
coverage combine tools tools/wptrunner
codecov