aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-04-26 17:57:24 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-04-26 17:57:24 -0700
commitbab92c6ce438e32e36ea15ff7b3a0cafe3130bb6 (patch)
treebb5378a11aefbc8f1a05ec6fa67368e4ebf45313
parenta7219680451936e59ce2582a31bbba378b44b22f (diff)
downloadpandoc-bab92c6ce438e32e36ea15ff7b3a0cafe3130bb6.tar.gz
appveyor - use powershell for commands.
Another try at getting path setting to work properly.
-rw-r--r--appveyor.yml27
1 files changed, 17 insertions, 10 deletions
diff --git a/appveyor.yml b/appveyor.yml
index e0e0d559f..f7efcd3c8 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,15 +1,22 @@
install:
-- 'git submodule update --init'
-- 'choco install haskellplatform -version 2014.2.0.0 -y'
-- 'SET PATH="%PATH%;C:\Program Files\Haskell Platform\2014.2.0.0\bin;C:\Program Files\Haskell Platform\2014.2.0.0\lib\extralibs\bin;C:\Program Files\Haskell Platform\2014.2.0.0\mingw\bin"'
-- cabal update
-- cabal install --only-dependencies --enable-tests -w "C:\Program Files\Haskell Platform\2014.2.0.0\bin\ghc-7.8.3"
+- ps: >-
+ git submodule update --init
+ choco install haskellplatform -version 2014.2.0.0 -y
+ # Haskell Platfrom package doesn't update PATH for the current shell instance
+
+ $env:Path += ";${env:ProgramFiles}\Haskell Platform\2014.2.0.0\bin"
+ $env:Path += ";${env:ProgramFiles}\Haskell Platform\2014.2.0.0\lib\extralibs\bin"
+ $env:Path += ";${env:ProgramFiles}\Haskell Platform\2014.2.0.0\mingw\bin"
+ echo "PATH is $env:Path"
+ cabal update
+ cabal install --only-dependencies --enable-tests -w "C:\Program Files\Haskell Platform\2014.2.0.0\bin\ghc-7.8.3"
build_script:
-- 'SET PATH="%PATH%;C:\Program Files\Haskell Platform\2014.2.0.0\bin;C:\Program Files\Haskell Platform\2014.2.0.0\lib\extralibs\bin;C:\Program Files\Haskell Platform\2014.2.0.0\mingw\bin"'
-- 'cabal configure --enable-tests -v2 -w "C:\Program Files\Haskell Platform\2014.2.0.0\bin\ghc-7.8.3"'
-- 'cabal build'
+- ps: >-
+ echo "PATH is $env:Path"
+ cabal configure --enable-tests -v2 -w "C:\Program Files\Haskell Platform\2014.2.0.0\bin\ghc-7.8.3"
+ cabal build
test_script:
-- 'SET PATH="%PATH%;C:\Program Files\Haskell Platform\2014.2.0.0\bin;C:\Program Files\Haskell Platform\2014.2.0.0\lib\extralibs\bin;C:\Program Files\Haskell Platform\2014.2.0.0\mingw\bin"'
-- 'cabal test'
+- ps: >-
+ cabal test