language: node_js

node_js:
  - 10.15.1

env:
  - PRODUCTION=true

build:
  ci:
    - shippable_retry node_modules/.bin/yarn install
    - node_modules/.bin/gulp min_styl
    - node_modules/.bin/tslint --project tsconfig.json 
    - node_modules/.bin/webpack --optimize-minimize --devtool=source-map

  post_ci:
    - gzip -9 dist/ogs.min.js | wc -c
    - gzip -9 dist/vendor.min.js | wc -c
    - gzip -9 dist/ogs.min.css | wc -c

  cache: true

  cache_dir_list:
    - $SHIPPABLE_BUILD_DIR/node_modules

language: node_js

node_js:
  - 10.15.1

env:
  - PRODUCTION=true

build:
  ci:
    - shippable_retry node_modules/.bin/yarn install
    - node_modules/.bin/gulp min_styl
    - node_modules/.bin/tslint --project tsconfig.json 
    - node_modules/.bin/webpack --optimize-minimize --devtool=source-map
    - npx jest

  post_ci:
    - gzip -9 dist/ogs.min.js | wc -c
    - gzip -9 dist/vendor.min.js | wc -c
    - gzip -9 dist/ogs.min.css | wc -c

  cache: true

  cache_dir_list:
    - $SHIPPABLE_BUILD_DIR/node_modules

Add jest tests to CI
Add jest tests to CI
