Home

nur @main - refs - log -
-
https://git.jolheiser.com/nur.git
My NUR
tree log patch
Merge pull request #25 from abathur/patch-1
Signature
-----BEGIN PGP SIGNATURE----- wsBcBAABCAAQBQJfUIrsCRBK7hj4Ov3rIwAAdHIIABDMd7HzRWIl417aDHw7zh1f 59bP2d7VtM8ZX5HCOEwa2yEs3Py95usSLswTXakN/dc3UooFHci+dD4rOxnPtujx +5LMfRdKOrTz3OyWC6oJNPksV0B+kUrb+/MCdDJBeE7IqUfPm7uc3/IqXYHKgMJe SWFzgQUeP4nJ8Zp5MUaqz57yl3vmWqoZYVM9kWMvB/jQC6bOaVrSh2Yf4E2hvDSH 13OnriVNvOesdsHFwdf6x+T8QFnwtQA8/3+r30f6NREsn9lEmO4mul8Nltx2su95 X3552EgTK9QrAfCzNFRjPQkcC7c4eaGvEvUP8sYqgFb6vXX0ae1qSuNIzuZDzow= =jCxC -----END PGP SIGNATURE-----
Jörg Thalheim <Mic92@users.noreply.github.com>
4 years ago
1 changed files, 7 additions(+), 20 deletions(-)
M .travis.yml -> .travis.yml
diff --git a/.travis.yml b/.travis.yml
index 8d0173216d91ed396d538500ea5909ffc83efda8..ef6bb3289d8553e7a03adbd0ada799b786fa2bb4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,5 @@
-language: nix
+version: ~> 1.0
-nix: 2.3.4
+import: nix-community/nix-travis-ci:nix.yml@main
 
 sudo: false
 
@@ -13,36 +13,23 @@     # Example: mycache (for mycache.cachix.org)
     #
     # For this to work, you also need to set the  CACHIX_SIGNING_KEY
     # in your repository settings in Travis.
-language: nix
 sudo: false
+  global:
     # Set this to notify the global nur package registry that changes are
     # available.
     #
     # The repo name as used in
     # https://github.com/nix-community/NUR/blob/master/repos.json
-    - NUR_REPO=<YOUR_NUR_REPO_NAME_HERE>
+    - NUR_REPO="<YOUR_NUR_REPO_NAME_HERE>"
 
 matrix:
   include:
-    - env: NIX_CHANNEL=https://nixos.org/channels/nixpkgs-unstable
-    - env: NIX_CHANNEL=https://nixos.org/channels/nixos-unstable
-nix: 2.3.4
 sudo: false
-
-install:
- - nix --version
- # for cachix we need travis to be a trusted nix user
-nix: 2.3.4
     # in travis and for everyone who uses your cache.
-nix: 2.3.4
+sudo: false
     #
-
+env:
 
-language: nix
- - 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'
@@ -51,6 +38,6 @@  - 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 [ "cron" != "${TRAVIS_EVENT_TYPE}" -a "false" = "${TRAVIS_PULL_REQUEST}" -a "master" = "${TRAVIS_BRANCH}" ]; then
+  - if [[ NUR_REPO != "<YOUR_NUR_REPO_NAME_HERE>" && "cron" != "${TRAVIS_EVENT_TYPE}" && "false" = "${TRAVIS_PULL_REQUEST}" && "master" = "${TRAVIS_BRANCH}" ]]; then
       curl -XPOST "https://nur-update.herokuapp.com/update?repo=${NUR_REPO}"; fi