Travis cache (#3972)

* Use name instead of env

* Enable cache dist

* enable only master and dev

* rename e2e lib

* add nx and smart build

* disable packaging and create demo shell stages

* use same name

* Enable affected e2e for core and process

* Enable affected libs check on all the e2e

* fix e2e condition

* Enable unit tests

* Manage case deps not present

* add name typo

* add affected folder to check e2e

* change an e2e test

* remove branch typo

* Update .travis.yml
This commit is contained in:
Maurizio Vitale
2018-11-19 13:28:02 +00:00
committed by Eugenio Romano
parent 2fcec4f235
commit f0dff4d011
21 changed files with 864 additions and 204 deletions
+4 -1
View File
@@ -14,6 +14,7 @@
"lint-e2e": "./node_modules/.bin/tslint -p ./e2e/tsconfig.e2e.json -c ./tslint.json",
"test-export": "ts-node ./tools/export-check/exportCheck.ts ./lib/core/public-api.ts ./lib/process-services/public-api.ts ./lib/content-services/public-api.ts ./lib/insights/public-api.ts ./lib/process-services-cloud/public-api.ts",
"ng": "ng",
"affected:libs": "./node_modules/.bin/nx affected:libs",
"validate-config": "ajv validate -s ./lib/core/app-config/schema.json -d ./demo-shell/src/app.config.json --errors=text --verbose",
"start": "ng lint dist && npm run validate-config && npm run server-versions && ng serve dist --host 0.0.0.0 --proxy-config ./demo-shell/proxy.conf.js --open",
"start:dev": "ng lint dev && npm run validate-config && npm run server-versions && concurrently \"ng serve dev --host 0.0.0.0 --disable-host-check --proxy-config ./demo-shell/proxy.conf.js --open\" \"npm run style:dev --watch\" ",
@@ -25,7 +26,7 @@
"webpack-bundle-analyzer": "webpack-bundle-analyzer demo-shell/dist/stats.json",
"test": "npm run validate-config && ng test dev --watch=false",
"e2e": "./scripts/test-e2e-lib.sh -host 'localhost:4200' -dev --folder demo-shell",
"e2e-lib": "ng e2e lib-e2e --port=4200",
"e2e-lib": "ng e2e lib-e2e-test --port=4200",
"server-versions": "rimraf ./demo-shell/src/versions.json && npm list --depth=0 --json=true --prod=true > ./demo-shell/src/versions.json || exit 0",
"clean": "rimraf dist ./node_modules typings",
"clean-lock": "rimraf package-lock.json",
@@ -81,6 +82,8 @@
"adf-tslint-rules": "0.0.4",
"alfresco-js-api": "2.7.0-beta5",
"alfresco-js-api-node": "2.7.0-beta5",
"@nrwl/schematics": "6.3.1",
"@nrwl/nx": "6.3.1",
"chart.js": "2.5.0",
"classlist.js": "1.1.20150312",
"core-js": "^2.5.4",