chore: Remove unused travis scripts
This commit is contained in:
parent
67488e2b19
commit
bc198d9328
|
@ -305,13 +305,6 @@ clean: ## Remove build artifacts
|
|||
@rm -rf "$(PROJECT_ROOT)/pkg/"
|
||||
@rm -f "$(GOPATH)/bin/nomad"
|
||||
|
||||
.PHONY: travis
|
||||
travis: ## Run Nomad test suites with output to prevent timeouts under Travis CI
|
||||
@if [ ! $(SKIP_NOMAD_TESTS) ]; then \
|
||||
make generate-structs; \
|
||||
fi
|
||||
@"$(PROJECT_ROOT)/scripts/travis.sh"
|
||||
|
||||
.PHONY: testcluster
|
||||
testcluster: ## Bring up a Linux test cluster using Vagrant. Set PROVIDER if necessary.
|
||||
vagrant up nomad-server01 \
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -o errexit
|
||||
|
||||
#enable ipv6
|
||||
echo '{"ipv6":true, "fixed-cidr-v6":"2001:db8:1::/64"}' | sudo tee /etc/docker/daemon.json
|
||||
sudo service docker restart
|
||||
|
||||
# Ignore apt-get update errors to avoid failing due to misbehaving repo;
|
||||
# true errors would fail in the apt-get install phase
|
||||
apt-get update || true
|
||||
|
||||
apt-get install -y qemu shellcheck
|
||||
bash ./scripts/travis-rkt.sh
|
||||
bash ./scripts/travis-consul.sh
|
||||
bash ./scripts/travis-vault.sh
|
|
@ -1,6 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -o errexit
|
||||
|
||||
bash ./scripts/travis-consul.sh
|
||||
bash ./scripts/travis-vault.sh
|
|
@ -1,22 +0,0 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
export PING_SLEEP=60
|
||||
bash -c "while true; do echo \$(date) - building ...; sleep $PING_SLEEP; done" &
|
||||
PING_LOOP_PID=$!
|
||||
|
||||
trap 'kill ${PING_LOOP_PID} || true' EXIT HUP INT QUIT TERM
|
||||
|
||||
if [ "$RUN_STATIC_CHECKS" ]; then
|
||||
make check
|
||||
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
|
||||
make checkscripts
|
||||
fi
|
||||
fi
|
||||
|
||||
NOMAD_SLOW_TEST=1 make test
|
||||
TEST_OUTPUT=$?
|
||||
|
||||
kill $PING_LOOP_PID || true
|
||||
|
||||
exit $TEST_OUTPUT
|
Loading…
Reference in New Issue