mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
travis jobs config (#525)
This commit is contained in:
+9
-9
@@ -16,16 +16,16 @@ before_script:
|
|||||||
- sudo /etc/init.d/postgresql stop
|
- sudo /etc/init.d/postgresql stop
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
|
- npm install -g npm@latest
|
||||||
- export DISPLAY=:99.0
|
- export DISPLAY=:99.0
|
||||||
- sh -e /etc/init.d/xvfb start
|
- sh -e /etc/init.d/xvfb start
|
||||||
- sleep 3 # give xvfb some time to start
|
- sleep 3 # give xvfb some time to start
|
||||||
|
|
||||||
install:
|
jobs:
|
||||||
- npm install -g npm@latest
|
include:
|
||||||
- npm ci
|
- stage: test
|
||||||
|
script: npm run lint && npm run spellcheck
|
||||||
script:
|
- stage: test
|
||||||
# - docker-compose stop
|
script: npm run test:ci
|
||||||
- npm run build
|
- stage: e2e
|
||||||
- npm run test:ci
|
script: npm run build && npm run e2e:docker
|
||||||
- npm run e2e:docker
|
|
||||||
|
|||||||
Reference in New Issue
Block a user