on ce42607 help sign in
gogol/script/travis-lifecycle-install
16 lines 471 B history raw
1#!/usr/bin/env bash
3set -e
5GHCVER=${GHCVER?"GHCVER needs to be set."}
6LIBRARY=${LIBRARY?"LIBRARY needs to be set."}
8path=$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)
10$path/travis-timeout \
11 stack --no-terminal --skip-ghc-check --stack-yaml stack-$GHCVER.yaml setup
13if [ "$LIBRARY" != "documentation" ]; then
14 $path/travis-timeout \
15 stack --no-terminal --skip-ghc-check --stack-yaml stack-$GHCVER.yaml build --test --fast --only-snapshot $LIBRARY
16fi