mirror of
https://github.com/urbit/shrub.git
synced 2024-12-24 03:14:30 +03:00
travis_retry doesn't work from bash scripts.
This commit is contained in:
parent
e2765f3d2d
commit
9bcfe72ec5
@ -16,6 +16,7 @@ install:
|
||||
- nix-env -iA cachix -f https://cachix.org/api/v1/install
|
||||
- stack --no-terminal --install-ghc build king --only-dependencies
|
||||
|
||||
# TODO Only do release builds on the `pull` branch?
|
||||
script:
|
||||
- cachix use urbit2
|
||||
- ./sh/cachix || true
|
||||
|
@ -5,13 +5,13 @@ set -ex
|
||||
mkdir -p ~/.local/bin
|
||||
|
||||
# OSX
|
||||
# travis_retry curl -L https://get.haskellstack.org/stable/osx-x86_64.tar.gz | tar xz --strip-components=1 --include '*/stack' -C ~/.local/bin
|
||||
# curl -L https://get.haskellstack.org/stable/osx-x86_64.tar.gz | tar xz --strip-components=1 --include '*/stack' -C ~/.local/bin
|
||||
|
||||
mkdir -p tmp
|
||||
|
||||
pax="https://get.haskellstack.org/stable/linux-x86_64.tar.gz"
|
||||
|
||||
travis_retry curl -L $pax | tar xz -C tmp
|
||||
curl -L $pax | tar xz -C tmp
|
||||
|
||||
mv tmp/stack-*/stack ~/.local/bin
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user