-
Notifications
You must be signed in to change notification settings - Fork 15
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 #28 from rubik/travis-update
Drop support for older and fix for newer ghc and stack. Update travis:
- Loading branch information
Showing
13 changed files
with
52 additions
and
115 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,41 +1,35 @@ | ||
sudo: false | ||
|
||
language: haskell | ||
|
||
env: | ||
- GHCVER=7.8.4 STACK_YAML=stack-7.8.yaml STACK_VERSION=0.1.7.0 | ||
- GHCVER=7.8.4 STACK_YAML=stack-7.8.yaml STACK_VERSION=0.1.8.0 | ||
- GHCVER=7.10.2 STACK_YAML=stack.yaml STACK_VERSION=0.1.7.0 | ||
- GHCVER=7.10.2 STACK_YAML=stack.yaml STACK_VERSION=0.1.8.0 | ||
cache: | ||
directories: | ||
- $HOME/.stack | ||
- $TRAVIS_BUILD_DIR/.stack-work | ||
timeout: 360 | ||
|
||
matrix: | ||
include: | ||
|
||
#branches: | ||
# only: | ||
# - master | ||
- env: GHC="8.6.5" RESOLVER="lts-14.27" STACK_YAML=stack.ghc-8.6.yaml | ||
addons: {apt: {packages: [libgmp-dev]}} | ||
|
||
sudo: false | ||
- env: GHC="8.8.4" RESOLVER="lts-16.31" | ||
addons: {apt: {packages: [libgmp-dev]}} | ||
|
||
cache: | ||
directories: | ||
- $HOME/.stack/ | ||
- env: GHC="8.10.4" RESOLVER="lts-17" | ||
addons: {apt: {packages: [libgmp-dev]}} | ||
|
||
before_install: | ||
- mkdir -p $HOME/.local/bin | ||
- export PATH=$HOME/.local/bin:$PATH | ||
- export STACK_FULLVERSION=stack-$STACK_VERSION-linux-x86_64 | ||
- if [ $STACK_VERSION == "0.1.7.0" ]; then | ||
curl -L https://github.com/rubik/argon/releases/download/test-stack-1.7/stack-linux-x64.tar.bz2 | tar -xj -C $HOME/.local/bin; | ||
else | ||
curl -L https://github.com/commercialhaskell/stack/releases/download/v$STACK_VERSION/$STACK_FULLVERSION.tar.gz | tar xz --strip-components 1 -C ~/.local/bin $STACK_FULLVERSION/stack; | ||
fi | ||
|
||
- chmod a+x $HOME/.local/bin/stack | ||
- travis_retry curl -sSL https://get.haskellstack.org/ | sh -s - -f | ||
- stack --version | ||
|
||
install: | ||
- stack setup --no-terminal | ||
- stack setup --no-terminal --resolver $RESOLVER | ||
|
||
script: | ||
- stack test :shc-test --no-terminal --coverage | ||
- stack test :shc-test --no-terminal --coverage --resolver $RESOLVER | ||
|
||
after_script: | ||
- travis_retry curl -L https://github.com/rubik/stack-hpc-coveralls/releases/download/v0.0.2.0/shc-linux-x64-$GHCVER.tar.bz2 | tar -xj | ||
- ./shc stack-hpc-coveralls shc-test | ||
# after_script: | ||
# - travis_retry curl -L https://github.com/rubik/stack-hpc-coveralls/releases/download/v0.0.2.0/shc-linux-x64-$GHCVER.tar.bz2 | tar -xj | ||
# - ./shc stack-hpc-coveralls shc-test |
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
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
resolver: lts-17.6 | ||
packages: | ||
- '.' | ||
extra-deps: | ||
- hlint-3.3 | ||
- ghc-lib-parser-9.0.1.20210207@sha256:1599bb845533c2833b6265fbc7f7f09e665ad4cb07352ee6c6abf6e6a94f6c44,10746 | ||
- ghc-lib-parser-ex-9.0.0.4@sha256:8282b11c3797fc8ba225b245e736cc9a0745d9c48d0f9fea7f9bffb5c9997709,3642 | ||
- github: gelisam/docopt.hs | ||
commit: 16dc7bc596c0ea4fa4466b12f474b1abfa72c885 |
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,5 @@ | ||
resolver: lts-14.27 | ||
packages: | ||
- '.' | ||
extra-deps: | ||
- docopt-0.7.0.5@sha256:0ff280d90aa667350f743623708107bdef427a49b64b1bdf3df15905d8cbe345,3540 |
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,33 +1,9 @@ | ||
# For more information, see: https://github.com/commercialhaskell/stack/blob/release/doc/yaml_configuration.md | ||
|
||
# Specifies the GHC version and set of packages available (e.g., lts-3.5, nightly-2015-09-21, ghc-7.10.2) | ||
resolver: lts-11.5 | ||
|
||
# Local packages, usually specified by relative directory name | ||
resolver: lts-16.31 | ||
packages: | ||
- '.' | ||
|
||
# Packages to be pulled from upstream that are not in the resolver (e.g., acme-missiles-0.3) | ||
extra-deps: | ||
- docopt-0.7.0.4 | ||
|
||
# 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: >= 0.1.4.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] | ||
- hlint-3.3 | ||
- ghc-lib-parser-9.0.1.20210207@sha256:1599bb845533c2833b6265fbc7f7f09e665ad4cb07352ee6c6abf6e6a94f6c44,10746 | ||
- ghc-lib-parser-ex-9.0.0.4@sha256:8282b11c3797fc8ba225b245e736cc9a0745d9c48d0f9fea7f9bffb5c9997709,3642 | ||
- github: gelisam/docopt.hs | ||
commit: 16dc7bc596c0ea4fa4466b12f474b1abfa72c885 |
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