Version 0.3.2: disable Places tests, add Travis configuration.

This commit is contained in:
Richard Newman 2016-11-23 08:51:28 -08:00
parent cefa8770fe
commit 1789b00b07
4 changed files with 24 additions and 2 deletions

13
.travis.yml Normal file
View 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

View file

@ -4,7 +4,7 @@
"engines": {
"node": "6.x.x"
},
"version": "0.3.1",
"version": "0.3.2",
"description": "A persistent, embedded knowledge base inspired by Datomic and DataScript.",
"dependencies": {
"promise-sqlite": "1.5.0",

View file

@ -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."
:url "https://github.com/mozilla/datomish"
:license {:name "Apache License, Version 2.0"

View file

@ -8,6 +8,13 @@
;; CONDITIONS OF ANY KIND, either express or implied. See the License for the
;; 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
#?(:cljs
(:require-macros
@ -39,6 +46,7 @@
(tufte/add-basic-println-handler! {})
#_
(deftest-async test-import
(with-tempfile [t (tempfile)]
(let [places (<? (s/<sqlite-connection "/tmp/places.sqlite"))
@ -50,6 +58,7 @@
(finally
(<? (d/<close conn)))))))
#_
(deftest-async test-import-repeat
;; 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.