File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1- package-lock.json
21node_modules
32! node_modules /mocha /mocha.css
43! node_modules /mocha /mocha.js
Original file line number Diff line number Diff line change @@ -26,6 +26,9 @@ uname -a
2626cat /etc/lsb-release
2727
2828npm install
29+ # npm may update the package-lock.json. Revert this to avoid failing grunt-checkrepo.
30+ git checkout HEAD package-lock.json
31+
2932npm install -g grunt-cli
3033
3134sudo apt-get update --fix-missing
@@ -62,19 +65,19 @@ Chrome)
6265 sudo dpkg --install $CHROME || sudo apt-get -f install
6366 which google-chrome
6467 ls -l ` which google-chrome`
65-
68+
6669 if [ -f /opt/google/chrome/chrome-sandbox ]; then
6770 export CHROME_SANDBOX=/opt/google/chrome/chrome-sandbox
6871 else
6972 export CHROME_SANDBOX=$( ls /opt/google/chrome* /chrome-sandbox)
7073 fi
71-
74+
7275 # Download a custom chrome-sandbox which works inside OpenVC containers (used on travis).
7376 sudo rm -f $CHROME_SANDBOX
7477 sudo wget https://googledrive.com/host/0B5VlNZ_Rvdw6NTJoZDBSVy1ZdkE -O $CHROME_SANDBOX
7578 sudo chown root:root $CHROME_SANDBOX ; sudo chmod 4755 $CHROME_SANDBOX
7679 sudo md5sum $CHROME_SANDBOX
77-
80+
7881 google-chrome --version
7982 ;;
8083
You can’t perform that action at this time.
0 commit comments