Skip to content

Commit

Permalink
Added stack download/install to travis script
Browse files Browse the repository at this point in the history
  • Loading branch information
rkoeninger committed Aug 15, 2017
1 parent ecc65ac commit c1904fb
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,12 @@ addons:
apt:
packages:
- libsdl2-dev
env:
- LD_LIBRARY_PATH=libsdl2
before_install:
# Download and install Haskell Stack
#- mkdir -p ~/.local/bin
#- export PATH=$HOME/.local/bin:$PATH
#- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'

# Download and build SDL
#- ./fetch.sh
- mkdir -p ~/.stack-home
- export PATH=$HOME/.stack-home:$PATH
- travis_retry wget https://www.stackage.org/stack/linux-x86_64 -O stack.tar
- tar xz -f stack.tar --wildcards --strip-components=1 -C ~/.stack-home '*/stack'
install:
# - stack --no-terminal --install-ghc test --only-dependencies
- true
Expand Down

0 comments on commit c1904fb

Please sign in to comment.