LoginSignup
0
1

More than 5 years have passed since last update.

Travis CI で phantomjs 2.5.0 beta を使う

Posted at
sudo: required

を設定する。

before_install に

  - sudo apt-get -qq update
  - sudo apt-get install -y phantomjs libicu52 libxml2 libxslt1.1 libhyphen0 libwebp5 software-properties-common
  - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && sudo apt-get -qq update && sudo apt-get install -y gcc-4.9 g++-4.9
  - wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.5.0-beta-linux-ubuntu-trusty-x86_64.tar.gz && tar xvf phantomjs-2.5.0-beta-linux-ubuntu-trusty-x86_64.tar.gz && chmod +x phantomjs-2.5.0-beta-ubuntu-trusty/bin/phantomjs && sudo cp phantomjs-2.5.0-beta-ubuntu-trusty/bin/phantomjs /usr/local/bin && rm -rf phantomjs* && phantomjs --version

のように書く。するととりあえず動くは動く。
ただ phantomjs 2.5.0 beta の品質が今のところ実用品ではないので、本当にとりあえず動くというだけ。

0
1
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1