aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 7b29dcb8fb6bb9fece0693d9a45c75d8a2f40ea9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
language: nix  # automatically runs nix-build

git:
  depth: 3     # not 1 to build commits in the queue

jobs:
  include:
  - name: "Cabal build"
    env: NIX=0
  - name: "Nix build"
    env: NIX=1

before_script: if [[ $NIX -eq 0 ]]; then nix-env -i cabal-install ghc; fi

script: ./scripts/build.sh