Skip to content

Commit 59fad79

Browse files
committed
Install hledger with stack on Linux to get a later version
1 parent edfad19 commit 59fad79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ before_install:
3030
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sed -i 's/- -dynamic /- -static /g' $TRAVIS_BUILD_DIR/package.yaml; fi
3131
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cat /proc/cpuinfo; fi
3232
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cat /proc/meminfo; fi
33-
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update && sudo apt install hledger; fi
3433
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sysctl -n machdep.cpu.brand_string; fi
3534
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update --verbose; fi
3635
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install --verbose haskell-stack hledger; fi
@@ -54,6 +53,7 @@ install:
5453
- hledger-flow version
5554
- ldd $(which hledger-flow) || true
5655
- ./bin/release-tarball ~/.local/bin/hledger-flow
56+
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then stack install hledger; fi
5757
- which hledger
5858
- hledger --version
5959
- git clone --recurse-submodules https://github.com/apauley/hledger-flow-example.git $HOME/hledger-flow-example

0 commit comments

Comments
 (0)