hnix/.travis.yml

49 lines
1.2 KiB
YAML
Raw Normal View History

2018-08-04 03:24:21 +02:00
os:
- linux
- osx
2018-05-06 20:59:31 +02:00
2018-08-04 03:24:21 +02:00
language: nix
2018-05-06 20:59:31 +02:00
2018-08-04 03:24:21 +02:00
sudo: required
2018-05-06 20:59:31 +02:00
git:
depth: 1
2017-12-29 04:42:24 +01:00
env:
2018-05-07 04:55:23 +02:00
global:
2018-08-04 03:24:21 +02:00
- ALL_TESTS=yes
2018-08-05 22:12:11 +02:00
- secure: "dm6I+M4+V+C7QMTpcSADdKPE633SvmToXZrTbZ7miNDGmMN+/SfHeN2ybi1+PW6oViMlbPN/7J/aEfiGjSJI8vLk72Y4uCWGmpSb8TXZLu6+whnxtZzzW8+z4tsM4048QJg7CF3N/25U8thRFgs3DqUub1Sf3nG9LrNWdz6ZcDQ="
2018-08-04 03:24:21 +02:00
2018-05-07 04:55:23 +02:00
matrix:
2019-02-17 00:39:03 +01:00
- GHCVERSION=ghc863 STRICT=false TRACING=false
# - GHCVERSION=ghcjs
#
# matrix:
# allow_failures:
# - env: GHCVERSION=ghcjs
2017-12-29 04:42:24 +01:00
2018-08-04 03:24:21 +02:00
before_script:
- sudo mount -o remount,exec,size=4G,mode=755 /run/user || true
- sudo mkdir -p /etc/nix
- echo "trusted-users = root $USER" | sudo tee -a /etc/nix/nix.conf
- sudo launchctl kickstart -k system/org.nixos.nix-daemon || true
2018-05-06 20:59:31 +02:00
script:
- nix-env -iA cachix -f https://github.com/NixOS/nixpkgs/tarball/db557aab7b690f5e0e3348459f2e4dc8fd0d9298
2018-08-04 03:24:21 +02:00
- cachix use hnix
2018-08-24 06:06:49 +02:00
- if [ ! "$CACHIX_SIGNING_KEY" = "" ]; then cachix push hnix --watch-store& fi
- if [ ! "$CACHIX_SIGNING_KEY" = "" ]; then ./build.sh | cachix push hnix; else ./build.sh; fi
2018-04-03 09:31:30 +02:00
2018-05-07 04:55:23 +02:00
branches:
only:
- master
- pending
2018-05-07 04:55:23 +02:00
2018-04-03 09:31:30 +02:00
notifications:
webhooks:
urls:
2018-04-27 00:58:51 +02:00
- https://webhooks.gitter.im/e/b0312b18473340459d3e
on_success: change
on_failure: always
on_start: never