mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-04-23 22:30:24 +00:00
test war generation
This commit is contained in:
13
.travis.yml
13
.travis.yml
@@ -32,3 +32,16 @@ jobs:
|
||||
- bash <(curl -s https://codecov.io/bash) -X gcov
|
||||
- stage: e2e
|
||||
script: npm run build && npm run e2e:docker
|
||||
before_deploy: 'npm run build:war'
|
||||
deploy:
|
||||
provider: s3
|
||||
region: $ARTIFACTS_REGION
|
||||
access_key_id: $ARTIFACTS_KEY
|
||||
secret_access_key: $ARTIFACTS_SECRET
|
||||
bucket: $ARTIFACTS_BUCKET
|
||||
skip_cleanup: true
|
||||
local-dir: dist/tomcat
|
||||
upload-dir: /${TRAVIS_BUILD_NUMBER}/tomcat
|
||||
on:
|
||||
repo: Alfresco/alfresco-content-app
|
||||
branch: development
|
||||
|
||||
@@ -31,7 +31,7 @@ import { RepoClient } from '../../utilities/repo-client/repo-client';
|
||||
import { Utils } from '../../utilities/utils';
|
||||
|
||||
|
||||
describe('Page titles', () => {
|
||||
fdescribe('Page titles', () => {
|
||||
const loginPage = new LoginPage();
|
||||
const logoutPage = new LogoutPage();
|
||||
const page = new BrowsingPage();
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
"start:prod": "npm run server-versions && ng serve --prod --open",
|
||||
"build": "npm run server-versions && node --max-old-space-size=8192 node_modules/@angular/cli/bin/ng build app --prod",
|
||||
"build:dev": "npm run server-versions && ng build",
|
||||
"build:war": "mkdir -p dist/tomcat && jar -cvf dist/tomcat/alfresco-content-app.war -C dist/app/ .",
|
||||
"test": "ng test app --code-coverage",
|
||||
"test:ci": "ng test app --code-coverage --watch=false",
|
||||
"lint": "ng lint",
|
||||
|
||||
Reference in New Issue
Block a user