-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcircle.yml
More file actions
36 lines (32 loc) · 769 Bytes
/
circle.yml
File metadata and controls
36 lines (32 loc) · 769 Bytes
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
#####
# Circle CI
#
# For running docker images on circle ci, see: https://circleci.com/docs/docker
# For circle.yml explanation, see: https://circleci.com/docs/manually
#####
machine:
node:
version: 'stable'
dependencies:
cache_directories:
- node_modules
pre:
- npm set progress=false
- export DISPLAY=:99.0
- sudo apt-get update && sudo apt-get install --only-upgrade google-chrome-stable
# Clean out node-modules to prevent issues with circle-ci's caching.
- rm -rf node_modules
override:
- npm install
test:
post:
- npm run build
- npm start:
background: true
override:
- nvm use 4 && npm test
- nvm use 5 && npm test
- nvm use 'stable' && npm test
general:
artifacts:
- reports