Merge pull request #192 from firesofmay/switch-to-nodejs

Switch to node-js build engine for cljs tests
This commit is contained in:
Nathan Marz 2017-03-11 14:09:12 -05:00 committed by GitHub
commit 3be05f2f0a
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"]