mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
* angular 7 upgrade * try to fix e2e failures * reduce wait for snackbar * wait presenceOf instead of visibilityOf * angular 7 upgrade * try to fix e2e failures * reduce wait for snackbar * wait presenceOf instead of visibilityOf * one more try to fix e2e snackbar issues * yet another try * only wait in some tests * diable animations, extra e2e app configuration * update tomcat e2e script * fix prod build memory use * use another type of wait * disable check to be investigated separately
41 lines
874 B
YAML
41 lines
874 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.e2e && npm run e2e:docker
|
|
- stage: e2e
|
|
name: 'Tomcat'
|
|
script: npm run build.tomcat.e2e && npm run docker.tomcat.e2e
|