Browse Source

forced phantomjs version in appveyor

Rafał Pitoń 10 years ago
parent
commit
dad2c6fc6c
1 changed files with 7 additions and 1 deletions
  1. 7 1
      appveyor.yml

+ 7 - 1
appveyor.yml

@@ -1,6 +1,12 @@
+# http://www.appveyor.com/docs/appveyor-yml
+
 # Custom build version
 version: 0.{build}-{branch}
 
+# Fix line endings in Windows. (runs before repo cloning)
+init:
+  - git config --global core.autocrlf true
+
 # Test against these versions of Node.js.
 environment:
   matrix:
@@ -15,7 +21,7 @@ install:
   # Get the latest stable version of Node 0.STABLE.latest
   - ps: Install-Product node $env:nodejs_version
   # Install PhantomJS
-  - cinst PhantomJS
+  - cinst PhantomJS -y -Version 1.9.8
   - set path=%path%;C:\tools\PhantomJS\
   - dir C:\tools\PhantomJS
   # Typical npm stuff.