forked from Alfresco/alfresco-js-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
46 lines (38 loc) · 928 Bytes
/
.travis.yml
File metadata and controls
46 lines (38 loc) · 928 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
37
38
39
40
41
42
43
44
45
46
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
env:
matrix:
- MODULE=jsapi
install:
- npm install
jobs:
include:
- stage: Lint
script: ./scripts/lint.sh
- stage: Build
script: ./scripts/build.sh || exit 1
- stage: Test
script: npm run test || exit 1
- stage: Perfomance
script: ./scripts/test-performance.sh || exit 1
- stage: Integration
script: ./scripts/test-integration.sh || exit 1
after_success:
- npm run coverage --force
- bash <(curl -s https://codecov.io/bash)
cache:
directories:
- node_modules
- dist