on master help sign in
Add stack upgrade
commit1c1fe0ce341eb38807d9146f86b16319f625efa1 authorHarendra Kumar <harendra.kumar@gmail.com> dateFri 8 Dec 2017, 00:51 (9 years ago) parentae22d77
2 files changed+5−2
.travis.yml+2−1 appveyor.yml+3−1
.travis.yml+2−1
@@ -59,7 +59,7 @@ install: true
5959script:
6060 - |
6161 # Customizable options
62− PACKAGE_TEST_VER="df401952254b782379b3d109bd051a4a56e61635"
62+ PACKAGE_TEST_VER="7fe14f616d05d69de25a46002668a8509b6257a5"
6363 GHC_OPTIONS="-O0 -Werror"
6464 test -n "$COVERALLS" && \
6565 COVERALLS_OPTIONS="--coverage-mode=StrictlyFullLines \
@@ -83,6 +83,7 @@ script:
8383 PATH=$PATH
8484 BUILD=$BUILD
8585 RESOLVER=$RESOLVER
86+ STACK_UPGRADE=y
8687 STACK_YAML=$STACK_YAML
8788 STACK_BUILD_OPTIONS="$STACK_BUILD_OPTIONS"
8889 GHCVER=$GHCVER
appveyor.yml+3−1
@@ -10,6 +10,7 @@ environment:
1010 BUILD: "stack"
1111 RESOLVER: "lts-9.0"
1212 GHC_OPTIONS: "-O0 -Werror"
13+ STACK_UPGRADE: "y"
1314# STACK_OPTIONS: "-v"
1415
1516 STACK_ROOT: "c:\\sr"
@@ -17,7 +18,7 @@ environment:
1718 PATH: "%PATH%;%APPDATA%\\local\\bin"
1819 CABAL_REINIT_CONFIG: "y"
1920 TEST_INSTALL: "y"
20− PACKAGE_TEST_VER: "df401952254b782379b3d109bd051a4a56e61635"
21+ PACKAGE_TEST_VER: "7fe14f616d05d69de25a46002668a8509b6257a5"
2122
2223cache:
2324 - "%STACK_ROOT%" # stack root
@@ -32,6 +33,7 @@ build: off
3233before_test:
3334- if not exist %LOCAL_BIN% mkdir %LOCAL_BIN%
3435- where stack.exe || curl -sSkL -ostack.zip http://www.stackage.org/stack/windows-x86_64 && 7z x stack.zip stack.exe && move stack.exe %LOCAL_BIN%
36+- stack --version
3537- curl -sSkL -opackage-test.sh https://raw.githubusercontent.com/harendra-kumar/package-test/%PACKAGE_TEST_VER%/package-test.sh
3638
3739test_script: