Skip to content

Commit

Permalink
add kumascript tests to CI (#568)
Browse files Browse the repository at this point in the history
  • Loading branch information
escattone authored May 7, 2020
1 parent b1c56a1 commit 2ebff60
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ cache:
- server/node_modules
- ssr/node_modules
- content/node_modules
- kumascript/node_modules

# Because https://github.com/travis-ci/travis-ci/issues/9445
before_install:
Expand All @@ -29,6 +30,10 @@ matrix:
cache: yarn
script:
- ./scripts/ci-client.sh
- name: kumascript
cache: yarn
script:
- ./scripts/ci-kumascript.sh
- name: end-to-end
cache: yarn
script:
Expand Down
8 changes: 8 additions & 0 deletions scripts/ci-kumascript.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
set -ex

# If you run this locally, the jest test runner will
# start in interactive mode. To make it like in CI
# execute this script like `CI=true ./scripts/ci-kumascript.sh

yarn workspace kumascript run test

0 comments on commit 2ebff60

Please sign in to comment.