mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
* initial work * shared link created through API * add tests for share file on all list views * remove utc for end of day * remove hours and minutes * update unit test * workaround * update docker settings for tomcat * tomcat setup for e2e
41 lines
870 B
YAML
41 lines
870 B
YAML
dist: trusty
|
|
sudo: required
|
|
services:
|
|
- docker
|
|
addons:
|
|
chrome: stable
|
|
artifacts:
|
|
paths:
|
|
- e2e-output
|
|
target_paths:
|
|
- /${TRAVIS_BUILD_NUMBER}
|
|
language: node_js
|
|
node_js:
|
|
- '8'
|
|
before_script:
|
|
- sudo /etc/init.d/postgresql stop
|
|
before_install:
|
|
- npm install -g npm@latest
|
|
- export DISPLAY=:99.0
|
|
- sh -e /etc/init.d/xvfb start
|
|
- sleep 3
|
|
jobs:
|
|
include:
|
|
- stage: test
|
|
name: 'Code quality checks'
|
|
script:
|
|
- npm run lint
|
|
- npm run spellcheck
|
|
- npm run format:check
|
|
- stage: test
|
|
name: 'Unit tests'
|
|
script:
|
|
- npm run test:ci
|
|
- bash <(curl -s https://codecov.io/bash) -X gcov
|
|
- stage: e2e
|
|
name: 'Nginx'
|
|
script: npm run build && npm run e2e:docker
|
|
- stage: e2e
|
|
name: 'Tomcat'
|
|
script: npm run build.tomcat.e2e && npm run docker.tomcat.e2e
|