nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit e1ecbf55fbfbf053730fe42a9559916e7eafee56
parent 3f97992d591999c7dce4d7c285d951583eb3f30b
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Fri,  3 Apr 2020 20:13:44 +0300

Update .travis.yml

Diffstat:
M.travis.yml | 33++++++++++++++++-----------------
1 file changed, 16 insertions(+), 17 deletions(-)

diff --git a/.travis.yml b/.travis.yml @@ -1,33 +1,32 @@ language: nix -sudo: false - env: global: - CACHIX_CACHE=sikmir - NUR_REPO=sikmir -matrix: +jobs: include: - - env: NIX_CHANNEL=https://nixos.org/channels/nixpkgs-unstable - - env: NIX_CHANNEL=https://nixos.org/channels/nixos-unstable + - name: "nixpkgs-unstable" + env: NIX_CHANNEL=https://nixos.org/channels/nixpkgs-unstable + - name: "nixos-unstable" + env: NIX_CHANNEL=https://nixos.org/channels/nixos-unstable install: - - nix --version - - if [ -n "${CACHIX_CACHE}" ]; then travis_retry nix-channel --update; fi - - if [ -n "${CACHIX_CACHE}" ]; then nix-env -iA cachix -f https://cachix.org/api/v1/install; fi - - if [ -n "${CACHIX_CACHE}" ]; then cachix use "${CACHIX_CACHE}"; fi - - nix-channel --add "${NIX_CHANNEL}" nixpkgs - - travis_retry nix-channel --update + - nix --version + - if [ -n "${CACHIX_CACHE}" ]; then travis_retry nix-channel --update; fi + - if [ -n "${CACHIX_CACHE}" ]; then nix-env -iA cachix -f https://cachix.org/api/v1/install; fi + - if [ -n "${CACHIX_CACHE}" ]; then cachix use "${CACHIX_CACHE}"; fi + - nix-channel --add "${NIX_CHANNEL}" nixpkgs + - travis_retry nix-channel --update script: - - nix-build ci.nix -A buildOutputs - - nix eval -f default.nix 'lib' - - nix eval -f default.nix 'modules' - - nix eval -f default.nix 'overlays' + - nix-build ci.nix -A buildOutputs + - nix eval -f default.nix 'lib' + - nix eval -f default.nix 'modules' + - nix eval -f default.nix 'overlays' after_success: - if [ -n "${CACHIX_CACHE}" ]; then nix-build ci.nix -A cacheOutputs | cachix push "${CACHIX_CACHE}"; fi - if [ "false" = "${TRAVIS_PULL_REQUEST}" -a "master" = "${TRAVIS_BRANCH}" ]; then - curl -XPOST "https://nur-update.herokuapp.com/update?repo=${NUR_REPO}"; fi - + curl -XPOST "https://nur-update.herokuapp.com/update?repo=${NUR_REPO}"; fi