Remove travis-ci badge and pipeline scripts (#445)

TravisCI has ceased to work since the migration to dotcom.
This commit is contained in:
Iain Buclaw 2022-03-14 22:37:45 +01:00 committed by GitHub
parent 021c68124d
commit ded1e651b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 70 deletions

View file

@ -1,26 +0,0 @@
language: d
sudo: false
matrix:
include:
- d: dmd
env: MODEL=64
- d: dmd-nightly
env: MODEL=64
- d: dmd
env: MODEL=32
addons:
apt:
packages:
- g++-multilib
- libcurl4-openssl-dev:i386
- d: dmd-nightly
env: MODEL=32
addons:
apt:
packages:
- g++-multilib
- libcurl4-openssl-dev:i386
script:
- ./travis.sh

View file

@ -3,7 +3,6 @@ D tools
[![GitHub tag](https://img.shields.io/github/tag/dlang/tools.svg?maxAge=86400)](https://github.com/dlang/tools/releases)
[![Bugzilla Issues](https://img.shields.io/badge/issues-Bugzilla-green.svg)](https://issues.dlang.org/buglist.cgi?component=tools&list_id=220149&product=D&resolution=---)
[![Travis](https://img.shields.io/travis/dlang/tools/master.svg?logo=travis&style=flat&label=travis)](https://travis-ci.org/dlang/tools)
[![Buildkite](https://img.shields.io/buildkite/8cc605b3a89338bc41b144efcd5226acfe6b91c844a8a27ad9/master.svg?logo=dependabot&style=flat&label=buildkite)](https://buildkite.com/dlang/tools)
[![license](https://img.shields.io/github/license/dlang/tools.svg)](https://github.com/dlang/tools/blob/master/LICENSE.txt)

View file

@ -1,43 +0,0 @@
#!/bin/bash
set -uexo pipefail
~/dlang/install.sh install gdc
~/dlang/install.sh install ldc
~/dlang/install.sh list
GDMD=$(find ~/dlang -type f -name "gdmd")
LDMD2=$(find ~/dlang -type f -name "ldmd2")
make -f posix.mak all DMD="$(which dmd)"
make -f posix.mak test DMD="$(which dmd)" \
RDMD_TEST_COMPILERS=dmd,"$GDMD","$LDMD2" \
VERBOSE_RDMD_TEST=1
# Test setup.sh
shellcheck setup.sh
dmd=dmd/generated/linux/release/64/dmd
dir=generated/setup.sh-test
cwd="$(pwd)"
# check initial checkout
rm -rf "$dir" && mkdir "$dir" && pushd "$dir"
echo "y" | "$cwd"/setup.sh
echo 'void main(){ import std.stdio; "Hello World".writeln;}' | "./${dmd}" -run - | grep -q "Hello World"
# test updates
echo "y" | "$cwd"/setup.sh
echo 'void main(){ import std.stdio; "Hello World".writeln;}' | "./${dmd}" -run - | grep -q "Hello World"
popd && rm -rf "$dir" && mkdir "$dir" && pushd "$dir"
# test checking out tags
# requires an older host compiler too, see also: https://github.com/dlang/tools/pull/324
. $(~/dlang/install.sh install dmd-2.078.1 -a)
echo "y" | "$cwd"/setup.sh --tag=2.078.1
echo 'void main(){ import std.stdio; __VERSION__.writeln;}' | "./2.078.1/${dmd}" -run - | grep -q "2078"
popd
# test building the DUB packages
./test/test_dub.sh