From 8162d99dfff4215b992a1afedd6ddc35ad4a769d Mon Sep 17 00:00:00 2001 From: xeals Date: Sat, 17 Oct 2020 12:45:20 +1100 Subject: [PATCH] ci: resolve warnings --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index a0582da..b5d7c03 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,8 @@ version: ~> 1.0 import: nix-community/nix-travis-ci:nix.yml@main -sudo: false +dist: xenial +os: linux env: global: @@ -16,13 +17,13 @@ jobs: - env: NIX_PATH=nixpkgs=channel:nixos-20.03 script: - - nix-build ci.nix -A buildOutputs + - nix-build ci.nix -kA 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 [ -n "${CACHIX_CACHE}" ]; then nix-build ci.nix -kA cacheOutputs | cachix push "${CACHIX_CACHE}"; fi - if [[ "cron" != "${TRAVIS_EVENT_TYPE}" && "false" = "${TRAVIS_PULL_REQUEST}" && "master" = "${TRAVIS_BRANCH}" ]]; then curl -XPOST "https://nur-update.herokuapp.com/update?repo=${NUR_REPO}"; fi