Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 21 additions & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,32 @@ d:
# this way the overall test time gets cut down (GDC/LDC are a lot
# slower tham DMD, so they should be started early), while still
# catching most DMD version related build failures early
- dmd-2.075.1
- dmd-2.068.2
- dmd-2.078.1
- dmd-2.072.2
- ldc-1.7.0
- ldc-1.6.0
- ldc-1.5.0
- ldc-1.4.0
- ldc-1.3.0
- ldc-1.2.0
- ldc-1.1.1
- dmd-2.077.1
- dmd-2.076.1
- dmd-2.075.1
- dmd-2.074.1
- dmd-2.073.2
- dmd-2.072.2
- dmd-2.071.2
- dmd-2.070.2
- dmd-2.069.2
- dmd-beta

before_install:
- pip3 install meson>=0.40
#before_install:
#- pyenv global system 3.6
#- pip3 install meson>=0.40

install:
- mkdir .ntmp
- curl -L https://github.com/ninja-build/ninja/releases/download/v1.7.2/ninja-linux.zip -o .ntmp/ninja-linux.zip
- unzip .ntmp/ninja-linux.zip -d .ntmp
#install:
#- mkdir .ntmp
#- curl -L https://github.com/ninja-build/ninja/releases/download/v1.7.2/ninja-linux.zip -o .ntmp/ninja-linux.zip
#- unzip .ntmp/ninja-linux.zip -d .ntmp

before_script:
- export PATH=$PATH:$PWD/.ntmp
#before_script:
#- export PATH=$PATH:$PWD/.ntmp

script:
- dub build -b release
Expand All @@ -46,6 +49,6 @@ script:
- dub build --root examples/htmlserver
# test building with Meson
- mkdir build && cd build
- meson ..
- ninja -j4
- DESTDIR=/tmp/diet_inst_target ninja install
#- meson ..
#- ninja -j4
#- DESTDIR=/tmp/diet_inst_target ninja install
2 changes: 1 addition & 1 deletion examples/htmlserver/dub.sdl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name "htmlserver"
dependency "diet-ng" path="../.."
dependency "vibe-d" version="~>0.8.0"
dependency "vibe-d" version="~>0.8.3-alpha.1"
versions "VibeDefaultMain"
2 changes: 1 addition & 1 deletion examples/htmlserver/source/app.d
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import vibe.stream.wrapper;

void render(scope HTTPServerRequest req, scope HTTPServerResponse res)
{
auto dst = StreamOutputRange(res.bodyWriter);
auto dst = streamOutputRange(res.bodyWriter);
int iterations = 10;
dst.compileHTMLDietFile!("index.dt", iterations);
}
Expand Down