Skip to content

Commit 104dea9

Browse files
committed
Travis & Coveralls integration changes
1 parent cbfcf72 commit 104dea9

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

.coveralls.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
service_name: travis-pro
2+
repo_token: k922pFdjQCfHD8q5W7TqXNjhlCWR7ueRm

.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ os:
1212

1313
arch:
1414
- amd64
15-
- arm64
16-
15+
#- arm64
1716

1817
notifications:
1918
email: false
@@ -23,5 +22,8 @@ matrix:
2322
- julia: nightly
2423

2524
script:
26-
- JULIA_DEBUG=PersistentCollections JULIA_NUM_THREADS=999999 julia --project --check-bounds=yes -e 'import Pkg; Pkg.activate("."); Pkg.test()'
25+
- JULIA_DEBUG=PersistentCollections JULIA_NUM_THREADS=999999 julia --project --check-bounds=yes -e 'import Pkg; Pkg.activate("."); Pkg.test(coverage=true)'
2726

27+
after_success:
28+
- julia --project -e 'import Pkg; Pkg.add("Coverage")'
29+
- julia --project -e 'using Coverage; Coveralls.submit(Coveralls.process_folder())'

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
Julia `Dict` and `Set` data structures safely persisted to disk.
44

55
All collections are backed by [LMDB](https://en.wikipedia.org/wiki/Lightning_Memory-Mapped_Database) - a super fast B-Tree based embedded KV database with ACID guaranties.
6-
As with other B-Tree based databases reads are generally faster than writes. LMDB is not an exception, although write performance is relatively good to (expect 1k-10k TPS).
6+
As with other B-Tree based databases reads are faster than writes. However, write performance is still decent (expect 1k-10k TPS).
77

8-
Care was taken to make the datastructures thread-safe. LMDB handles most of the locking well, we just have to serialise the writes to an LMDB Environment in julia so that
9-
multiple threads do not attempt to write at once (deadlock will occur).
8+
Care was taken to make the data structures thread-safe. LMDB handles most of the locking well - we just have to exclusively lock the `LMDB.Environment` when writing
9+
to prevent multiple threads opening multile write transactions (deadlock will occur).
1010

1111
## Quick Start
1212

@@ -118,8 +118,8 @@ make bench
118118
### CI/CD
119119

120120
- [x] Travis CI integration
121-
- [ ] Coveralls integration (when public)
122-
- [ ] All platforms supported
121+
- [x] Coveralls integration (when public)
122+
- [x] All platforms supported
123123
- [ ] Part of Julia Registry
124124

125125
### PersistentDict

0 commit comments

Comments
 (0)