Skip to content

Commit

Permalink
update dscanner to 0.4.0-alpha2
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdavis committed May 5, 2016
1 parent 007abeb commit d10d2db
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ language: d
d: dmd-2.071.0
install:
- wget "https://raw.githubusercontent.com/dlang/dmd/master/src/checkwhitespace.d" -O ../checkwhitespace.d
- wget -q -O dscanner "http://releases.dlang.io/dscanner/0.3.0-git/dscanner"
- chmod +x dscanner
- git clone https://github.com/Hackerpilot/Dscanner
- (cd Dscanner && git checkout tags/v0.4.0-alpha2)
- (cd Dscanner && git submodule update --init --recursive)
- (cd Dscanner && make githash debug)
- mv Dscanner/dsc .
- rm -rf Dscanner
script:
- (cd .. && rdmd ./checkwhitespace.d $(find phobos -name '*.d'))
- grep -E "(for|foreach|foreach_reverse|if|while)\(" $(find . -name '*.d'); test $? -eq 1
Expand Down

0 comments on commit d10d2db

Please sign in to comment.