Skip to content

Commit

Permalink
remove digger setup
Browse files Browse the repository at this point in the history
- test dmd-nightly instead
  • Loading branch information
wilzbach authored and MartinNowak committed Jan 25, 2018
1 parent 53735e9 commit 3d7ee66
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 35 deletions.
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
language: d
d:
- dmd
sudo: false

matrix:
include:
- env: MODEL=64
- env: MODEL=32
- d: dmd
env: MODEL=64
- d: dmd-nightly
env: MODEL=64
- d: dmd
env: MODEL=32
addons:
apt:
packages:
Expand Down
33 changes: 2 additions & 31 deletions travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,5 @@

set -uexo pipefail

DIGGER_DIR="../digger"
DIGGER="../digger/digger"

# set to 64-bit by default
if [ -z ${MODEL:-} ] ; then
MODEL=64
fi

build_digger() {
git clone --recursive https://github.com/CyberShadow/Digger "$DIGGER_DIR"
git -C "$DIGGER_DIR" checkout v3.0.0-alpha-5
(cd "$DIGGER_DIR" && rdmd --build-only -debug digger)
}

install_digger() {
$DIGGER build --model=$MODEL "master"
export PATH=$PWD/work/result/bin:$PATH
}

if ! [ -d "$DIGGER_DIR" ] ; then
build_digger
fi

install_digger

dmd --version
rdmd --help | head -n 1
dub --version

make -f posix.mak all DMD=$(which dmd)
make -f posix.mak test DMD=$(which dmd)
make -f posix.mak all DMD="$(which $DMD)"
make -f posix.mak test DMD="$(which $DMD)"

0 comments on commit 3d7ee66

Please sign in to comment.