I start to use circeCI. I need to run my casperJS test automatically. But today CircleCI install 1.0 casperjs ver, but i need 1.1. version, the latest. How to explain in yml file, that i need the latest?

有帮助吗?

解决方案

You can actually use npm to install casperjs. You just need to add the command to the dependencies.post section of your circle.yml. Your circle.yml will look like:

dependencies:
  post:
    - npm install -g casperjs@1.1.0-beta3

Alternatively, if you're already using a package.json, then you can put casperjs there and CircleCI will install it for you automatically.

其他提示

You can install your own version as part of the build: see https://circleci.com/docs/installing-custom-software

Alternatively, contact support and we can install it for you :)

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top