From 10e80e47cab5afda919d9286bfbd0889ca16e9cc Mon Sep 17 00:00:00 2001 From: Mayank Jain Date: Sat, 11 Mar 2017 23:02:12 +0530 Subject: [PATCH] Switch to node-js build engine for cljs tests --- .travis.yml | 7 +------ project.clj | 3 ++- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index bc28209..dd101a2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,11 +3,6 @@ lein: 2.7.1 cache: directories: - $HOME/.m2 -#before_script: -# - mkdir travis-phantomjs -# - wget https://s3.amazonaws.com/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -O $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -# - tar -xvf $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -C $PWD/travis-phantomjs -# - export PATH=$PWD/travis-phantomjs:$PATH script: - lein test -# - lein doo phantom test-build once + - lein doo node test-build once diff --git a/project.clj b/project.clj index ba4780d..e027093 100644 --- a/project.clj +++ b/project.clj @@ -25,7 +25,8 @@ :source-paths ["src/clj" "target/classes" "test"] :compiler {:output-to "out/testable.js" :main 'com.rpl.specter.cljs-test-runner - :optimizations :simple}}]} + :target :nodejs + :optimizations :none}}]} :profiles {:dev {:dependencies [[org.clojure/test.check "0.9.0"]