mirror of
https://github.com/frappe/bench.git
synced 2025-01-09 16:36:25 +00:00
ci: Use Nodejs version 14 for Tests
This commit is contained in:
parent
4d1ddc4722
commit
a2ecb398dd
15
.travis.yml
15
.travis.yml
@ -76,17 +76,20 @@ matrix:
|
||||
script: sudo python $TRAVIS_BUILD_DIR/install.py --user travis --run-travis --production --verbose
|
||||
|
||||
install:
|
||||
- pip install urllib3 pyOpenSSL ndg-httpsclient pyasn1
|
||||
- pip3 install urllib3 pyOpenSSL ndg-httpsclient pyasn1
|
||||
|
||||
- if [ $TEST == "bench" ];then
|
||||
wget -q -O /tmp/wkhtmltox.tar.xz https://github.com/frappe/wkhtmltopdf/raw/master/wkhtmltox-0.12.3_linux-generic-amd64.tar.xz;
|
||||
tar -xf /tmp/wkhtmltox.tar.xz -C /tmp;
|
||||
sudo mv /tmp/wkhtmltox/bin/wkhtmltopdf /usr/local/bin/wkhtmltopdf;
|
||||
sudo chmod o+x /usr/local/bin/wkhtmltopdf;
|
||||
wget -q -O /tmp/wkhtmltox.tar.xz https://github.com/frappe/wkhtmltopdf/raw/master/wkhtmltox-0.12.3_linux-generic-amd64.tar.xz;
|
||||
tar -xf /tmp/wkhtmltox.tar.xz -C /tmp;
|
||||
sudo mv /tmp/wkhtmltox/bin/wkhtmltopdf /usr/local/bin/wkhtmltopdf;
|
||||
sudo chmod o+x /usr/local/bin/wkhtmltopdf;
|
||||
|
||||
nvm install 14;
|
||||
nvm use 14;
|
||||
|
||||
mkdir -p ~/.bench;
|
||||
cp -r $TRAVIS_BUILD_DIR/* ~/.bench;
|
||||
pip install -q -U -e ~/.bench;
|
||||
pip3 install -q -U -e ~/.bench;
|
||||
sudo pip install -q -U -e ~/.bench;
|
||||
|
||||
mysql -u root -e "SET GLOBAL character_set_server = 'utf8mb4'";
|
||||
|
Loading…
Reference in New Issue
Block a user