mirror of
https://github.com/barrucadu/dejafu.git
synced 2024-11-22 21:50:51 +03:00
47f3948480
hedgehog didn't make it to this LTS.
51 lines
1.1 KiB
YAML
51 lines
1.1 KiB
YAML
# Set-up
|
|
sudo: false
|
|
|
|
language: c
|
|
|
|
# If something is tagged, it's come from a PR which has been merged
|
|
# into master. There's no need to build both the tag and the merge
|
|
# commit.
|
|
if: tag IS blank
|
|
|
|
# Cache builds
|
|
cache:
|
|
directories:
|
|
- $HOME/.ghc
|
|
- $HOME/.cabal
|
|
- $HOME/.stack
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- libgmp-dev
|
|
|
|
env:
|
|
global:
|
|
- secure: "J8fH1I5Etz1TpB8aZwtbFGp4GDgq5NCevVkthAAPLMMNRM+WYG5hznEq4GnvY0sWyBYhVuEapq31w+Mjx1PjiMaVeipdcd9+fOo/K//jg0BU8Jj9MpFHzHmmiE0HB35Dm8lro7QBPIgX0e59qbK7MScZ4JZTBqL3OS1y3mtxdks="
|
|
|
|
script: ./.travis/$MODE
|
|
|
|
jobs:
|
|
allow_failures:
|
|
- env: MODE=test RESOLVER=nightly
|
|
include:
|
|
- stage: check
|
|
env: MODE=doctest
|
|
- env: MODE=lint
|
|
|
|
- stage: test
|
|
env: MODE=test RESOLVER=lts-9.0 # GHC 8.0
|
|
- env: MODE=test RESOLVER=lts-10.0 # GHC 8.2
|
|
- env: MODE=test RESOLVER=lts-12.0 # GHC 8.4
|
|
- env: MODE=test RESOLVER=lts-13.3 # GHC 8.6 - .3 because hedgehog and stylish-haskell aren't in .0
|
|
- env: MODE=test RESOLVER=nightly
|
|
|
|
- stage: predeploy
|
|
if: branch=master
|
|
env: MODE=predeploy
|
|
|
|
- stage: deploy
|
|
if: branch=master AND type != pull_request
|
|
env: MODE=deploy
|