-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
30 lines (26 loc) · 1.02 KB
/
.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
25
26
27
28
29
30
language: nix
nix: 2.2.2
jobs:
include:
- stage: Build
env: OS=linux GHCVER=ghc865
- stage: Build
env: OS=linux GHCVER=ghc881
# TODO try to find how to get working webkitgtk with nix on macOS
# - env: OS=macos GHCVER=ghc865
# os: osx
# # Fix OSX, see https://travis-ci.community/t/cannot-use-nix-support-on-osx/2927
# language: generic
# before_install:
# - curl https://nixos.org/nix/install | sh
# - source /Users/travis/.nix-profile/etc/profile.d/nix.sh
install:
- sudo mkdir -p /etc/nix
- echo "substituters = https://cache.nixos.org https://hydra.iohk.io" | sudo tee -a /etc/nix/nix.conf > /dev/null
- echo "trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" | sudo tee -a /etc/nix/nix.conf > /dev/null
script:
- nix-build --argstr haskellCompiler $GHCVER -A hsPkgs.webkit2gtk3-javascriptcore.components.library
notifications:
irc:
channels: "irc.freenode.net#gtk2hs"
email: true