alfresco-content-app/.travis.yml
Adina Parpalita 30b445dde9 [ACA-1799] add tests for share file (#727)
* 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
2018-10-18 14:27:54 +01:00

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