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
2
1
node_modules
3
2
! node_modules /mocha /mocha.css
4
3
! node_modules /mocha /mocha.js
Original file line number Diff line number Diff line change @@ -26,6 +26,9 @@ uname -a
26
26
cat /etc/lsb-release
27
27
28
28
npm install
29
+ # npm may update the package-lock.json. Revert this to avoid failing grunt-checkrepo.
30
+ git checkout HEAD package-lock.json
31
+
29
32
npm install -g grunt-cli
30
33
31
34
sudo apt-get update --fix-missing
@@ -62,19 +65,19 @@ Chrome)
62
65
sudo dpkg --install $CHROME || sudo apt-get -f install
63
66
which google-chrome
64
67
ls -l ` which google-chrome`
65
-
68
+
66
69
if [ -f /opt/google/chrome/chrome-sandbox ]; then
67
70
export CHROME_SANDBOX=/opt/google/chrome/chrome-sandbox
68
71
else
69
72
export CHROME_SANDBOX=$( ls /opt/google/chrome* /chrome-sandbox)
70
73
fi
71
-
74
+
72
75
# Download a custom chrome-sandbox which works inside OpenVC containers (used on travis).
73
76
sudo rm -f $CHROME_SANDBOX
74
77
sudo wget https://googledrive.com/host/0B5VlNZ_Rvdw6NTJoZDBSVy1ZdkE -O $CHROME_SANDBOX
75
78
sudo chown root:root $CHROME_SANDBOX ; sudo chmod 4755 $CHROME_SANDBOX
76
79
sudo md5sum $CHROME_SANDBOX
77
-
80
+
78
81
google-chrome --version
79
82
;;
80
83
You can’t perform that action at this time.
0 commit comments