Use fixed dscanner version
This commit is contained in:
parent
09f434f631
commit
5ba6d35a1b
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -3,6 +3,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
|
||||
|
@ -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).
|
||||
|
Loading…
Reference in New Issue
Block a user