Switch to node-js build engine for cljs tests

This commit is contained in:
Mayank Jain 2017-03-11 23:02:12 +05:30
parent 4f56c6e5e9
commit 10e80e47ca
2 changed files with 3 additions and 7 deletions

View file

@ -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

View file

@ -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"]