summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml5
-rw-r--r--README.md7
-rw-r--r--appveyor.yml6
-rw-r--r--source/tanya/range/primitive.d11
4 files changed, 13 insertions, 16 deletions
diff --git a/.travis.yml b/.travis.yml
index 24930cb..e646a53 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,6 +7,7 @@ os:
language: d
d:
+ - dmd-2.082.0
- dmd-2.081.2
env:
@@ -20,7 +21,7 @@ addons:
- gcc-multilib
before_script:
- - if [ "`$DC --version | head -n 1 | grep 'v2.081.2'`" ]; then
+ - if [ "`$DC --version | head -n 1 | grep 'v2.082.0'`" ]; then
export UNITTEST="unittest-cov";
fi
@@ -28,7 +29,7 @@ script:
- dub test -b ${UNITTEST:-unittest} --arch=$ARCH --compiler=$DC
- if [ "$UNITTEST" ] && [ "$ARCH" = "x86_64" ] && [ "$TRAVIS_OS_NAME" = "linux" ];
then
- dub fetch dscanner;
+ dub fetch dscanner --version=0.5.10;
dub run dscanner -- --styleCheck ./source/;
fi
diff --git a/README.md b/README.md
index 8d242fa..61376bc 100644
--- a/README.md
+++ b/README.md
@@ -172,9 +172,10 @@ parameter is used)
### Supported compilers
-| DMD | GCC |
-|:-------:|:---------:|
-| 2.081.2 | *master* |
+| DMD | GCC |
+|:-------:|:------:|
+| 2.082.0 | gdc-8 |
+| 2.081.2 | gdc-7 |
### Release management
diff --git a/appveyor.yml b/appveyor.yml
index 5947129..ee2d487 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -4,6 +4,12 @@ os: Visual Studio 2015
environment:
matrix:
- DC: dmd
+ DVersion: 2.082.0
+ arch: x64
+ - DC: dmd
+ DVersion: 2.082.0
+ arch: x86
+ - DC: dmd
DVersion: 2.081.2
arch: x64
- DC: dmd
diff --git a/source/tanya/range/primitive.d b/source/tanya/range/primitive.d
index 72824a5..1b3b96b 100644
--- a/source/tanya/range/primitive.d
+++ b/source/tanya/range/primitive.d
@@ -909,17 +909,6 @@ void put(R, E)(ref R range, auto ref E e)
assert(oc.e == 2);
}
-///
-@nogc nothrow pure @safe unittest
-{
- int[2] actual;
- int[2] expected = [2, 3];
- auto slice = actual[];
-
- put(slice, expected[]);
- assert(actual == expected);
-}
-
/**
* Determines whether $(D_PARAM R) is an output range for the elemens of type
* $(D_PARAM E).