-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
37 lines (37 loc) · 1008 Bytes
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
version: 2.1
jobs:
test:
working_directory: ~/spark
docker:
- image: renegus/spark
environment:
DISPLAY: :0
steps:
- checkout
- restore_cache:
keys:
- dependency-cache-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- dependency-cache-
- run:
name: Install npm
command: npm install
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
paths:
- ./node_modules
- run:
name: Build project
command: npm run build
- run:
name: test
command: npm run test:circleCI
environment:
PXSCENE_PATH: "xvfb-run --auto-servernum --server-args='-screen 0, 1024x768x16' /usr/src/app/pxCore/examples/pxScene2d/src/spark.sh"
- store_artifacts:
path: ~/spark/results
workflows:
version: 2
test:
jobs:
- test