Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from Minoru/bugfix/build-with-lts-5
Build with Stackage LTS 5
- Loading branch information
Showing
5 changed files
with
72 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,32 @@ | ||
language: haskell | ||
# Use new container infrastructure to enable caching | ||
sudo: false | ||
|
||
# Choose a lightweight base image; we provide our own build tools. | ||
language: c | ||
|
||
# GHC depends on GMP. You can add other dependencies here as well. | ||
addons: | ||
apt: | ||
packages: | ||
- libgmp-dev | ||
|
||
# The different configurations we want to test. You could also do things like | ||
# change flags or use --stack-yaml to point to a different file. | ||
env: | ||
- ARGS="" | ||
|
||
before_install: | ||
# Download and unpack the stack executable | ||
- 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' | ||
|
||
# This line does all of the work: installs GHC if necessary, build the library, | ||
# executables, and test suites, and runs the test suites. --no-terminal works | ||
# around some quirks in Travis's terminal implementation. | ||
script: stack $ARGS --no-terminal --install-ghc test --haddock | ||
|
||
# Caching so the next build will be fast too. | ||
cache: | ||
directories: | ||
- $HOME/.stack |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,6 @@ library | |
, bytestring | ||
, feed | ||
, hakyll | ||
, old-locale | ||
, text | ||
, time | ||
, xml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# For more information, see: http://docs.haskellstack.org/en/stable/yaml_configuration.html | ||
|
||
# Specifies the GHC version and set of packages available (e.g., lts-3.5, nightly-2015-09-21, ghc-7.10.2) | ||
resolver: lts-5.18 | ||
|
||
# Local packages, usually specified by relative directory name | ||
packages: | ||
- '.' | ||
|
||
# Packages to be pulled from upstream that are not in the resolver (e.g., acme-missiles-0.3) | ||
extra-deps: [] | ||
|
||
# Override default flag values for local packages and extra-deps | ||
flags: {} | ||
|
||
# Extra package databases containing global packages | ||
extra-package-dbs: [] | ||
|
||
# Control whether we use the GHC we find on the path | ||
# system-ghc: true | ||
|
||
# Require a specific version of stack, using version ranges | ||
# require-stack-version: -any # Default | ||
# require-stack-version: >= 1.0.0 | ||
|
||
# Override the architecture used by stack, especially useful on Windows | ||
# arch: i386 | ||
# arch: x86_64 | ||
|
||
# Extra directories used by stack for building | ||
# extra-include-dirs: [/path/to/dir] | ||
# extra-lib-dirs: [/path/to/dir] | ||
|
||
# Allow a newer minor version of GHC than the snapshot specifies | ||
# compiler-check: newer-minor |