reagent/circle.yml

29 lines
885 B
YAML
Raw Normal View History

2017-09-28 22:33:45 +03:00
machine:
node:
version: v8.2.0
2017-10-12 15:32:36 +03:00
environment:
JVM_OPTS: "-Xms512m -Xmx1024m"
dependencies:
override:
- lein deps
2017-09-29 01:39:02 +03:00
- npm install -g karma-cli
2017-10-12 15:46:04 +03:00
- npm install
- rm -rf node_modules/react node_modules/react-dom node_modules/create-react-class node_modules/@cljs-oss
2016-10-21 11:02:40 +13:00
test:
override:
# Cljsjs - browser
2017-10-12 15:16:59 +03:00
- lein with-profile test do clean, doo chrome-headless client once
- test -f out/cljsjs/react/development/react.inc.js
# Cljsjs - Production build - Browser
2017-10-12 15:16:59 +03:00
- lein with-profile prod-test do clean, doo chrome-headless client once
# Node Modules - Browser
- npm install
- lein with-profile test do clean, doo chrome-headless client once
2017-10-12 15:59:16 +03:00
- test -f out/node_modules/react/index.js
# Node Modules - Node Target
- lein with-profile node-test do clean, doo node client once
2017-10-12 15:59:16 +03:00
- test -f out/node_modules/react/index.js