forked from Activiti/activiti-modeling-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (30 loc) · 840 Bytes
/
.travis.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
language: node_js
dist: trusty
sudo: required
node_js:
- "8"
addons:
chrome: stable
before_script:
- "sudo chown root /opt/google/chrome/chrome-sandbox"
- "sudo chmod 4755 /opt/google/chrome/chrome-sandbox"
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3 # give xvfb some time to start
env:
matrix:
- MODULE=alfresco-modeler-app
jobs:
include:
- stage: Code linting and unit tests
script: npm run lint && npm run test:ci
- stage: Build AMA SDK and the application in prod mode
script: npm run package:sdk && npm run build:prod
# Send coverage data to codecov
# after_success:
# bash <(curl -s https://codecov.io/bash) -X gcov
cache:
directories:
- alfresco-modeler-app/node_modules