aboutsummaryrefslogtreecommitdiff
path: root/.circleci
diff options
context:
space:
mode:
authorDavid Baker <dbkr@users.noreply.github.com>2018-10-12 08:13:45 +0100
committerGitHub <noreply@github.com>2018-10-12 08:13:45 +0100
commitb2d91f55ece853ca1a398d3c6814f18a3f10bee0 (patch)
treef8e9a909d9bc075fb40b968fa4c478f42ebf9668 /.circleci
parent3cfcf1615dfe434e1aa10d5c904d537b159e1566 (diff)
parent82534708a35640672c812e7603a84a9f42c8b50c (diff)
Merge pull request #62 from matrix-org/dbkr/ci2
CircleCI Build Support
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
new file mode 100644
index 0000000..0a891db
--- /dev/null
+++ b/.circleci/config.yml
@@ -0,0 +1,27 @@
+version: 2
+jobs:
+ build:
+ docker:
+ - image: trzeci/emscripten
+
+ working_directory: ~/repo
+
+ steps:
+ - checkout
+ - run:
+ name: Native Compile
+ command: make
+ - run:
+ name: Native Tests
+ command: make test
+ - run:
+ name: JS Compile
+ command: make js
+ - run:
+ name: Install JS Deps
+ working_directory: ~/repo/javascript
+ command: npm install
+ - run:
+ name: JS Tests
+ working_directory: ~/repo/javascript
+ command: npm run test