Version 0.3.2: disable Places tests, add Travis configuration.
This commit is contained in:
parent
cefa8770fe
commit
1789b00b07
4 changed files with 24 additions and 2 deletions
13
.travis.yml
Normal file
13
.travis.yml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
language: clojure
|
||||||
|
lein: lein2
|
||||||
|
jdk:
|
||||||
|
- oraclejdk8
|
||||||
|
lein: 2.7.0
|
||||||
|
clojure: 1.8.0
|
||||||
|
env:
|
||||||
|
- TRAVIS_NODE_VERSION="6.2.2"
|
||||||
|
install:
|
||||||
|
- nvm install $TRAVIS_NODE_VERSION
|
||||||
|
- nvm use $TRAVIS_NODE_VERSION
|
||||||
|
- npm install
|
||||||
|
script: lein test; lein doo node test once
|
|
@ -4,7 +4,7 @@
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "6.x.x"
|
"node": "6.x.x"
|
||||||
},
|
},
|
||||||
"version": "0.3.1",
|
"version": "0.3.2",
|
||||||
"description": "A persistent, embedded knowledge base inspired by Datomic and DataScript.",
|
"description": "A persistent, embedded knowledge base inspired by Datomic and DataScript.",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"promise-sqlite": "1.5.0",
|
"promise-sqlite": "1.5.0",
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
(defproject mozilla/datomish "0.3.1"
|
(defproject mozilla/datomish "0.3.2"
|
||||||
:description "A persistent, embedded knowledge base inspired by Datomic and DataScript."
|
:description "A persistent, embedded knowledge base inspired by Datomic and DataScript."
|
||||||
:url "https://github.com/mozilla/datomish"
|
:url "https://github.com/mozilla/datomish"
|
||||||
:license {:name "Apache License, Version 2.0"
|
:license {:name "Apache License, Version 2.0"
|
||||||
|
|
|
@ -8,6 +8,13 @@
|
||||||
;; CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
;; CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
||||||
;; specific language governing permissions and limitations under the License.
|
;; specific language governing permissions and limitations under the License.
|
||||||
|
|
||||||
|
;;
|
||||||
|
;; These tests are disabled for the moment -- they depend on
|
||||||
|
;; having a particular places.sqlite.
|
||||||
|
;;
|
||||||
|
;; Issue #108 tracks removing this code from Datomish itself.
|
||||||
|
;;
|
||||||
|
|
||||||
(ns datomish.places.import-test
|
(ns datomish.places.import-test
|
||||||
#?(:cljs
|
#?(:cljs
|
||||||
(:require-macros
|
(:require-macros
|
||||||
|
@ -39,6 +46,7 @@
|
||||||
|
|
||||||
(tufte/add-basic-println-handler! {})
|
(tufte/add-basic-println-handler! {})
|
||||||
|
|
||||||
|
#_
|
||||||
(deftest-async test-import
|
(deftest-async test-import
|
||||||
(with-tempfile [t (tempfile)]
|
(with-tempfile [t (tempfile)]
|
||||||
(let [places (<? (s/<sqlite-connection "/tmp/places.sqlite"))
|
(let [places (<? (s/<sqlite-connection "/tmp/places.sqlite"))
|
||||||
|
@ -50,6 +58,7 @@
|
||||||
(finally
|
(finally
|
||||||
(<? (d/<close conn)))))))
|
(<? (d/<close conn)))))))
|
||||||
|
|
||||||
|
#_
|
||||||
(deftest-async test-import-repeat
|
(deftest-async test-import-repeat
|
||||||
;; Repeated import is worst possible for the big joins to find datoms that already exist, because
|
;; Repeated import is worst possible for the big joins to find datoms that already exist, because
|
||||||
;; *every* datom added in the first import will match in the second.
|
;; *every* datom added in the first import will match in the second.
|
||||||
|
|
Loading…
Reference in a new issue