-
Notifications
You must be signed in to change notification settings - Fork 47
/
circle.yml
49 lines (43 loc) · 960 Bytes
/
circle.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
38
39
40
41
42
43
44
45
46
47
48
49
machine:
node:
version: 7
java:
version: oraclejdk8
environment:
PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
general:
artifacts:
- "coverage/"
- "reports/"
dependencies:
pre:
- nvm use 7.10.1
override:
- npm install
post:
- curl -L -o google-chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- sudo dpkg -i google-chrome.deb
- sudo sed -i 's|HERE/chrome\"|HERE/chrome\" --disable-setuid-sandbox|g' /opt/google/chrome/google-chrome
- google-chrome --version
- rm google-chrome.deb
test:
override:
- npm run e2e:
timeout: 400
deployment:
production:
branch: master
commands:
- npm run git-config
- npm run deploy
staging:
branch: devel
commands:
- npm run deploy:staging
- npm run deploy:beta
experimental:
notify:
branches:
only:
- master
- devel