summary refs log tree commit diff
path: root/maintainers/scripts
diff options
context:
space:
mode:
authorJoerg Thalheim <joerg@thalheim.io>2017-11-13 11:28:09 +0000
committerJoerg Thalheim <joerg@thalheim.io>2017-11-13 11:40:42 +0000
commit44917c46b1c398997a2e0786903000d44b6ab668 (patch)
treea7a5ced39d731cee953e6adf5571cc23dd8f4100 /maintainers/scripts
parent2ebcf7dba49cd0804f7614083e5b679fa412219f (diff)
downloadnixlib-44917c46b1c398997a2e0786903000d44b6ab668.tar
nixlib-44917c46b1c398997a2e0786903000d44b6ab668.tar.gz
nixlib-44917c46b1c398997a2e0786903000d44b6ab668.tar.bz2
nixlib-44917c46b1c398997a2e0786903000d44b6ab668.tar.lz
nixlib-44917c46b1c398997a2e0786903000d44b6ab668.tar.xz
nixlib-44917c46b1c398997a2e0786903000d44b6ab668.tar.zst
nixlib-44917c46b1c398997a2e0786903000d44b6ab668.zip
travis: disable for pull requests
travis is too slow for us and confuse contributors, who think they have
to get travis tests green.
We have now pr bots instead.
Diffstat (limited to 'maintainers/scripts')
-rwxr-xr-xmaintainers/scripts/travis-nox-review-pr.sh82
1 files changed, 0 insertions, 82 deletions
diff --git a/maintainers/scripts/travis-nox-review-pr.sh b/maintainers/scripts/travis-nox-review-pr.sh
deleted file mode 100755
index 4da4f7dacfae..000000000000
--- a/maintainers/scripts/travis-nox-review-pr.sh
+++ /dev/null
@@ -1,82 +0,0 @@
-#! /usr/bin/env bash
-set -e
-
-while test -n "$1"; do
-
-    # tell Travis to use folding
-    echo -en "travis_fold:start:$1\r"
-
-    case $1 in
-
-        nixpkgs-verify)
-            echo "=== Verifying that nixpkgs evaluates..."
-
-            nix-env --file $TRAVIS_BUILD_DIR --query --available --json > /dev/null
-            ;;
-
-        nixos-options)
-            echo "=== Checking NixOS options"
-
-            nix-build $TRAVIS_BUILD_DIR/nixos/release.nix --attr options --show-trace
-            ;;
-
-        nixos-manual)
-            echo "=== Checking NixOS manuals"
-
-            nix-build $TRAVIS_BUILD_DIR/nixos/release.nix --attr manual --show-trace
-            ;;
-
-        nixpkgs-manual)
-            echo "=== Checking nixpkgs manuals"
-
-            nix-build $TRAVIS_BUILD_DIR/pkgs/top-level/release.nix --attr manual --show-trace
-            ;;
-
-        nixpkgs-tarball)
-            echo "=== Checking nixpkgs tarball creation"
-
-            nix-build $TRAVIS_BUILD_DIR/pkgs/top-level/release.nix --attr tarball --show-trace
-            ;;
-
-        nixpkgs-unstable)
-            echo "=== Checking nixpkgs unstable job"
-
-            nix-instantiate $TRAVIS_BUILD_DIR/pkgs/top-level/release.nix --attr unstable --show-trace
-            ;;
-
-        nixpkgs-lint)
-            echo "=== Checking nixpkgs lint"
-
-            nix-shell --packages nixpkgs-lint --run "nixpkgs-lint -f $TRAVIS_BUILD_DIR"
-            ;;
-
-        nox)
-            echo "=== Fetching Nox from binary cache"
-
-            # build nox (+ a basic nix-shell env) silently so it's not in the log
-            nix-shell -p nox stdenv --command true
-            ;;
-
-        pr)
-            if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
-                echo "=== No pull request found"
-            else
-                echo "=== Building pull request #$TRAVIS_PULL_REQUEST"
-
-                token=""
-                if [ -n "$GITHUB_TOKEN" ]; then
-                    token="--token $GITHUB_TOKEN"
-                fi
-
-                nix-shell --packages nox --run "nox-review pr --slug $TRAVIS_REPO_SLUG $token $TRAVIS_PULL_REQUEST"
-            fi
-            ;;
-
-        *)
-            echo "Skipping unknown option $1"
-            ;;
-    esac
-
-    echo -en "travis_fold:end:$1\r"
-    shift
-done