如何在travis上安装libicui18n.so.52?
我对libicui18n.so.52
有疑问[phantomjs.launcher]: /home/travis/build/MyProject/node_modules/karma-phantomjs2-launcher/node_modules/phantomjs2-ext/lib/phantom/bin/phantomjs: error while loading shared libraries: libicui18n.so.52: cannot open shared object file: No such file or directory
我在.travis.yml中试过这个:
sudo: false
before_install:
- apt-get install -i libicu52_52.1-3ubuntu0.4_amd64.deb
但我有这个错误:
The command "sudo apt-get install -y libicu52_52.1-3ubuntu0.4_amd64.deb" failed and exited with 100 during .
答案 0 :(得分:0)
解决了这个问题:
sudo: required
before_install:
- sudo wget http://security.ubuntu.com/ubuntu/pool/main/i/icu/libicu52_52.1-3ubuntu0.4_amd64.deb
- sudo dpkg -i libicu52_52.1-3ubuntu0.4_amd64.deb