Skip to content

Commit

Permalink
Merge pull request #21 from lempiji/update-travis
Browse files Browse the repository at this point in the history
Update travis
  • Loading branch information
lempiji authored Mar 10, 2018
2 parents d23c4d7 + 61f3a6e commit d1da1bf
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,15 @@ os:
- osx

d:
# support 3 versions
- dmd
- dmd-2.079.0
- dmd-2.078.3
- dmd-2.077.1
- ldc
- ldc-1.8.0
- ldc-1.7.0
- ldc-1.6.0

script:
- dub test -b unittest-cov
Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
[![Dub version](https://img.shields.io/dub/v/rx.svg)](https://code.dlang.org/packages/rx)
[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)
[![Build Status](https://travis-ci.org/lempiji/rx.svg?branch=master)](https://travis-ci.org/lempiji/rx)
<!---
[![Coverage Status](https://coveralls.io/repos/github/lempiji/rx/badge.svg?branch=master)](https://coveralls.io/github/lempiji/rx?branch=master)
-->

### Overview

Expand Down Expand Up @@ -45,7 +42,6 @@ void main()
// result is like this
assert(result == ["0", "2", "4", "6", "8"]);
}
```

And [more examples](https://github.com/lempiji/rx/tree/master/examples) or [Documents](https://lempiji.github.io/rx)
Expand Down Expand Up @@ -93,6 +89,8 @@ interface Observable(E)
Disposable subscribe(Observer!E observer);
}
```
### Supported Compilers
Supported compilers are `dmd` and `ldc` that latest 3 versions.

### License

Expand Down
3 changes: 2 additions & 1 deletion source/rx/algorithm/debounce.d
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,9 @@ unittest
Thread.sleep(dur!"msecs"(100));

import std.algorithm : equal;
import std.format : format;

assert(equal(buf.data, [9]));
assert(equal(buf.data, [9]), "buf.data is %s".format(buf.data));
}

unittest
Expand Down

0 comments on commit d1da1bf

Please sign in to comment.