travis: check if NUR_REPO was changed from the default.
parent
9e2e9f3076
commit
7f823a0302
|
@ -19,7 +19,7 @@ env:
|
||||||
#
|
#
|
||||||
# The repo name as used in
|
# The repo name as used in
|
||||||
# https://github.com/nix-community/NUR/blob/master/repos.json
|
# 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:
|
matrix:
|
||||||
include:
|
include:
|
||||||
|
@ -35,6 +35,6 @@ script:
|
||||||
|
|
||||||
after_success:
|
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 -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
|
curl -XPOST "https://nur-update.herokuapp.com/update?repo=${NUR_REPO}"; fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue