on 1.4.6.0 help sign in
typeable/aeson/.travis.yml
91 lines 3.3 kB history raw
1# This file has been modified from generated version
2# see https://github.com/hvr/multi-ghc-travis
3language: c
4sudo: false
6# Bryan threatens to turn off Travis-CI if he gets any email :-)
7notifications:
8 email: false
10cache:
11 directories:
12 - $HOME/.stack
13 - $HOME/.cabsnap
14 - $HOME/.cabal/packages
15 - $HOME/.cabal/store
17before_cache:
18 - rm -fv $HOME/.cabal/packages/hackage.haskell.org/build-reports.log
19 - rm -fv $HOME/.cabal/packages/hackage.haskell.org/00-index.*
20 - rm -fv $HOME/.cabal/packages/hackage.haskell.org/*.json
21 - rm -fv $HOME/.cabal/packages/hackage.haskell.org/01-index.cache
22 - rm -fv $HOME/.cabal/packages/hackage.haskell.org/01-index.tar
23 - rm -fv $HOME/.cabal/packages/hackage.haskell.org/01-index.tar.idx
25matrix:
26 include:
28 - env: BUILD=hlint CABALVER=2.2 GHCVER=8.4.4
29 compiler: ": #GHC 8.4.4"
30 addons: {apt: {packages: [cabal-install-2.2,ghc-8.4.4], sources: [hvr-ghc]}}
32 - env: BUILD=stack CABALVER=2.4 GHCVER=8.6.5 STACK_YAML=stack-bench.yaml
33 compiler: ": #GHC 8.6.5"
34 addons: {apt: {packages: [cabal-install-2.4,ghc-8.6.5], sources: [hvr-ghc]}}
36 - env: BUILD=stack CABALVER=2.2 GHCVER=8.6.5 STACK_YAML=stack-ffi-unescape.yaml
37 compiler: ": #GHC 8.6.5"
38 addons: {apt: {packages: [cabal-install-2.2,ghc-8.6.5], sources: [hvr-ghc]}}
40 - env: BUILD=cabal2 CABALVER=3.0 GHCVER=8.8.1
41 compiler: ": #GHC 8.8.1"
42 addons: {apt: {packages: [cabal-install-3.0,ghc-8.8.1], sources: [hvr-ghc]}}
44 - env: BUILD=cabal CABALVER=2.4 GHCVER=8.6.5
45 compiler: ": #GHC 8.6.5"
46 addons: {apt: {packages: [cabal-install-2.4,ghc-8.6.5], sources: [hvr-ghc]}}
48 - env: BUILD=cabal CABALVER=2.2 GHCVER=8.4.4
49 compiler: ": #GHC 8.4.4"
50 addons: {apt: {packages: [cabal-install-2.2,ghc-8.4.4], sources: [hvr-ghc]}}
52 - env: BUILD=cabal CABALVER=2.0 GHCVER=8.2.2
53 compiler: ": #GHC 8.2.2"
54 addons: {apt: {packages: [cabal-install-2.0,ghc-8.2.2], sources: [hvr-ghc]}}
56 - env: BUILD=cabal CABALVER=2.0 GHCVER=8.0.2
57 compiler: ": #GHC 8.0.2"
58 addons: {apt: {packages: [cabal-install-2.0,ghc-8.0.2], sources: [hvr-ghc]}}
60 - env: BUILD=cabal CABALVER=1.22 GHCVER=7.10.3
61 compiler: ": #GHC 7.10.3"
62 addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.3], sources: [hvr-ghc]}}
64 - env: BUILD=cabal CABALVER=1.18 GHCVER=7.8.4
65 compiler: ": #GHC 7.8.4"
66 addons: {apt: {packages: [cabal-install-1.18,ghc-7.8.4], sources: [hvr-ghc]}}
68 - env: BUILD=cabal CABALVER=1.18 GHCVER=7.6.3
69 compiler: ": #GHC 7.6.3"
70 addons: {apt: {packages: [cabal-install-1.18,ghc-7.6.3], sources: [hvr-ghc]}}
72 - env: BUILD=cabal CABALVER=1.18 GHCVER=7.4.2
73 compiler: ": #GHC 7.4.2"
74 addons: {apt: {packages: [cabal-install-1.18,ghc-7.4.2], sources: [hvr-ghc]}}
76before_install:
77 - unset CC
78 - export PATH=$HOME/.local/bin:/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH
79 # Download and unpack the stack executable
80 - mkdir -p ~/.local/bin
81 - travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
83install:
84 - travis/install.sh
86# Here starts the actual work to be performed for the package under test;
87# any command which exits with a non-zero exit code causes the build to fail.
88script:
89 - travis/script.sh
91# EOF