-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
24 lines (20 loc) · 899 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Based on
# https://raw.githubusercontent.com/entropia/tip-toi-reveng/master/.travis.yml
#
# Other references:
# https://nixos.wiki/wiki/Nix_on_Travis
# https://github.com/input-output-hk/cardano-sl/blob/master/docs/nix.md#binary-cache
language: nix
nix: 2.2.2
jobs:
include:
- env: TARGET=spago
- env: TARGET=purs
- env: TARGET=purty
install:
- sudo mkdir -p /etc/nix
- echo "binary-caches = https://cache.nixos.org https://hydra.iohk.io https://cache.dhall-lang.org" | sudo tee -a /etc/nix/nix.conf > /dev/null
- echo "binary-cache-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.dhall-lang.org:I9/H18WHd60olG5GsIjolp7CtepSgJmM2CsO813VTmM=" | sudo tee -a /etc/nix/nix.conf > /dev/null
- nix-env -iA cachix -f https://cachix.org/api/v1/install
script:
- ./.travis.sh $TARGET