-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcircle.yml
More file actions
29 lines (27 loc) · 768 Bytes
/
circle.yml
File metadata and controls
29 lines (27 loc) · 768 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
machine:
node:
version: 6.9
pre:
- echo -e "npmreadblueberry\nB4v3nAEy\nnpm.read@blueberryapps.com" | npm login
dependencies:
pre:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- yarn global add gulp cypress-cli
override:
- yarn
post:
- cypress install
- NODE_ENV=production yarn start > $CIRCLE_ARTIFACTS/server.log 2>&1:
background: true
cache_directories:
- /home/ubuntu/.cypress/Cypress
- /home/ubuntu/.cache/yarn
test:
override:
- yarn eslint
- yarn test
# - cypress run --config videoRecording=false,screenshotOnHeadlessFailure=false || cypress run --config videoRecording=true,screenshotOnHeadlessFailure=true
general:
artifacts:
- "cypress/screenshots"
- "cypress/videos"