on main help sign in
Prepare to release 0.3.1 (#66)
60d7128Veronika Romashkina
.travis.yml+12−54
@@ -1,77 +1,35 @@
1sudo: true
1sudo: true
2−language: generic
2+language: haskell
3
3
4git:
4git:
5 depth: 5
5 depth: 5
6
6
7+cabal: "2.0"
8+
7cache:
9cache:
8 directories:
10 directories:
9− - "$HOME/.cabal"
11+ - "$HOME/.cabal/store"
10− - "$HOME/.ghc"
11 - "$HOME/.stack"
12 - "$HOME/.stack"
12− - "$HOME/build/kowainik/typerep-map/.stack-work"
13+ - "$TRAVIS_BUILD_DIR/.stack-work"
13
14
14matrix:
15matrix:
15−
16 include:
16 include:
17−
18 - ghc: 8.2.2
17 - ghc: 8.2.2
19− env: GHCVER='8.2.2' CABALVER='head'
20− os: linux
21− addons:
22− apt:
23− sources:
24− - hvr-ghc
25− packages:
26− - ghc-8.2.2
27− - cabal-install-head
28−
29− - ghc: 8.4.3
18+ - ghc: 8.4.4
30− env: GHCVER='8.4.3' CABALVER='head'
31− os: linux
32− addons:
33− apt:
34− sources:
35− - hvr-ghc
36− packages:
37− - ghc-8.4.3
38− - cabal-install-head
39−
40− - ghc: 8.6.1
19+ - ghc: 8.6.3
41− env: GHCVER='8.6.1' CABALVER='head'
42− os: linux
43− addons:
44− apt:
45− sources:
46− - hvr-ghc
47− packages:
48− - ghc-8.6.1
49− - cabal-install-head
50
20
51− - ghc: 8.4.3
21+ - ghc: 8.6.3
52− env: STACK_YAML="$HOME/build/kowainik/typerep-map/stack.yaml"
22+ env: STACK_YAML="$TRAVIS_BUILD_DIR/stack.yaml"
53− os: linux
54− addons:
55− apt:
56− packages:
57− - libgmp-dev
58
23
59install:
24install:
60 - |
25 - |
61 if [ -z "$STACK_YAML" ]; then
26 if [ -z "$STACK_YAML" ]; then
62− export PATH="/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH"
63− echo $PATH
64 cabal new-update
27 cabal new-update
65 cabal new-build --enable-tests --enable-benchmarks
28 cabal new-build --enable-tests --enable-benchmarks
66 else
29 else
67− echo "$TRAVIS_BUILD_DIR"
30+ curl -sSL https://get.haskellstack.org/ | sh
68− mkdir -p ~/.local/bin
69− export PATH="$HOME/.local/bin:$PATH"
70− travis_retry curl -L 'https://www.stackage.org/stack/linux-x86_64' | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
71 stack --version
31 stack --version
72− stack setup --no-terminal --install-cabal 2.0.1.0
32+ stack build --system-ghc --test --no-run-tests
73− stack ghc -- --version
74− stack build --only-dependencies --no-terminal
75 fi
33 fi
76
34
77script:
35script:
@@ -79,7 +37,7 @@ script:
79 if [ -z "$STACK_YAML" ]; then
37 if [ -z "$STACK_YAML" ]; then
80 cabal new-test $ALLOWNEWER
38 cabal new-test $ALLOWNEWER
81 else
39 else
82− stack build --test --bench --no-terminal
40+ stack build --system-ghc --test --bench --no-run-benchmarks --no-terminal --ghc-options=-Werror
83 fi
41 fi
84
42
85notifications:
43notifications:
CHANGELOG.md+6
@@ -4,6 +4,12 @@ Change log
4`typerep-map` uses [PVP Versioning][1].
4`typerep-map` uses [PVP Versioning][1].
5The change log is available [on GitHub][2].
5The change log is available [on GitHub][2].
6
6
7+# 0.3.1
8+
9+* [#64](https://github.com/kowainik/typerep-map/issues/64):
10+ Fix segfault in `toList`.
11+* Support GHC 8.4.4 and 8.6.3.
12+
7# 0.3.0
13# 0.3.0
8
14
9* [#46](https://github.com/kowainik/typerep-map/issues/46):
15* [#46](https://github.com/kowainik/typerep-map/issues/46):
stack.yaml+2−2
@@ -1,4 +1,4 @@
1−resolver: nightly-2018-07-05
1+resolver: lts-13.4
2
2
3extra-deps:
3extra-deps:
4− - primitive-0.6.4.0
4+ - tasty-hedgehog-0.2.0.0
typerep-map.cabal+4−3
@@ -1,5 +1,5 @@
1name: typerep-map
1name: typerep-map
2−version: 0.3.0
2+version: 0.3.1
3synopsis: Efficient implementation of a dependent map with types as keys
3synopsis: Efficient implementation of a dependent map with types as keys
4description:
4description:
5 A dependent map from type representations to values of these types.
5 A dependent map from type representations to values of these types.
@@ -29,7 +29,8 @@ extra-doc-files: README.md
29 , CHANGELOG.md
29 , CHANGELOG.md
30cabal-version: 2.0
30cabal-version: 2.0
31tested-with: GHC == 8.2.2
31tested-with: GHC == 8.2.2
32− , GHC == 8.4.3
32+ , GHC == 8.4.4
33+ , GHC == 8.6.3
33
34
34source-repository head
35source-repository head
35 type: git
36 type: git
@@ -83,7 +84,7 @@ test-suite typerep-map-test
83 , hedgehog >= 0.5.3 && < 0.7
84 , hedgehog >= 0.5.3 && < 0.7
84 , typerep-map
85 , typerep-map
85 , typerep-extra-impls
86 , typerep-extra-impls
86− , tasty >= 1.0.1.1 && < 1.2
87+ , tasty >= 1.0.1.1 && < 1.3
87 , tasty-discover >= 4.1.1 && < 4.3
88 , tasty-discover >= 4.1.1 && < 4.3
88 , tasty-hedgehog >= 0.1.0.2 && < 0.3
89 , tasty-hedgehog >= 0.1.0.2 && < 0.3
89 , tasty-hspec ^>= 1.1.5
90 , tasty-hspec ^>= 1.1.5