on wip/yuras/scanner help sign in
typeable/aeson/.travis.yml
96 lines 3.4 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 # Do the special build steps and handle the newest and oldest
29 # GHCs first, since these are the most likely to fail.
31 # HLint
32 - env: BUILD=hlint CABALVER=2.2 GHCVER=8.4.4
33 compiler: ": #GHC 8.4.4"
34 addons: {apt: {packages: [cabal-install-2.2,ghc-8.4.4], sources: [hvr-ghc]}}
36 # Latest GHC
37 - env: BUILD=cabal2 CABALVER=3.0 GHCVER=8.10.1
38 compiler: ": #GHC 8.10.1"
39 addons: {apt: {packages: [cabal-install-3.0,ghc-8.10.1], sources: [hvr-ghc]}}
41 # Oldest GHC
42 - env: BUILD=cabal CABALVER=1.18 GHCVER=7.8.4
43 compiler: ": #GHC 7.8.4"
44 addons: {apt: {packages: [cabal-install-1.18,ghc-7.8.4], sources: [hvr-ghc]}}
46 # Benchmarks
47 - env: BUILD=stack CABALVER=3.0 GHCVER=8.6.5 STACK_YAML=stack-bench.yaml
48 compiler: ": #GHC 8.6.5"
49 addons: {apt: {packages: [cabal-install-3.0,ghc-8.6.5], sources: [hvr-ghc]}}
51 # C unescape implementation
52 - env: BUILD=stack CABALVER=3.0 GHCVER=8.6.5 STACK_YAML=stack-ffi-unescape.yaml
53 compiler: ": #GHC 8.6.5"
54 addons: {apt: {packages: [cabal-install-3.0,ghc-8.6.5], sources: [hvr-ghc]}}
57 - env: BUILD=cabal2 CABALVER=3.0 GHCVER=8.8.3
58 compiler: ": #GHC 8.8.3"
59 addons: {apt: {packages: [cabal-install-3.0,ghc-8.8.3], sources: [hvr-ghc]}}
61 - env: BUILD=cabal2 CABALVER=3.0 GHCVER=8.6.5
62 compiler: ": #GHC 8.6.5"
63 addons: {apt: {packages: [cabal-install-3.0,ghc-8.6.5], sources: [hvr-ghc]}}
65 - env: BUILD=cabal2 CABALVER=3.0 GHCVER=8.4.4
66 compiler: ": #GHC 8.4.4"
67 addons: {apt: {packages: [cabal-install-3.0,ghc-8.4.4], sources: [hvr-ghc]}}
69 - env: BUILD=cabal2 CABALVER=3.0 GHCVER=8.2.2
70 compiler: ": #GHC 8.2.2"
71 addons: {apt: {packages: [cabal-install-3.0,ghc-8.2.2], sources: [hvr-ghc]}}
73 - env: BUILD=cabal2 CABALVER=3.0 GHCVER=8.0.2
74 compiler: ": #GHC 8.0.2"
75 addons: {apt: {packages: [cabal-install-3.0,ghc-8.0.2], sources: [hvr-ghc]}}
77 - env: BUILD=cabal CABALVER=1.22 GHCVER=7.10.3
78 compiler: ": #GHC 7.10.3"
79 addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.3], sources: [hvr-ghc]}}
81before_install:
82 - unset CC
83 - export PATH=$HOME/.local/bin:/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH
84 # Download and unpack the stack executable
85 - mkdir -p ~/.local/bin
86 - travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
88install:
89 - travis/install.sh
91# Here starts the actual work to be performed for the package under test;
92# any command which exits with a non-zero exit code causes the build to fail.
93script:
94 - travis/script.sh
96# EOF