mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 15:03:07 +00:00
fixed e2e script that uses docker
This commit is contained in:
26
angular.json
26
angular.json
@@ -71,6 +71,14 @@
|
|||||||
"maximumError": "10kb"
|
"maximumError": "10kb"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"travis": {
|
||||||
|
"fileReplacements": [
|
||||||
|
{
|
||||||
|
"replace": "src/environments/environment.ts",
|
||||||
|
"with": "src/environments/environment.travis.ts"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -82,6 +90,9 @@
|
|||||||
"configurations": {
|
"configurations": {
|
||||||
"production": {
|
"production": {
|
||||||
"browserTarget": "dspace-angular-cli:build:production"
|
"browserTarget": "dspace-angular-cli:build:production"
|
||||||
|
},
|
||||||
|
"travis": {
|
||||||
|
"browserTarget": "dspace-angular-cli:build:travis"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -141,18 +152,9 @@
|
|||||||
"configurations": {
|
"configurations": {
|
||||||
"production": {
|
"production": {
|
||||||
"devServerTarget": "dspace-angular-cli:serve:production"
|
"devServerTarget": "dspace-angular-cli:serve:production"
|
||||||
}
|
},
|
||||||
}
|
"travis": {
|
||||||
},
|
"devServerTarget": "dspace-angular-cli:serve:travis"
|
||||||
"e2e:docker": {
|
|
||||||
"builder": "@angular-devkit/build-angular:protractor",
|
|
||||||
"options": {
|
|
||||||
"protractorConfig": "e2e/protractor.conf.js",
|
|
||||||
"devServerTarget": "dspace-angular-cli:serve"
|
|
||||||
},
|
|
||||||
"configurations": {
|
|
||||||
"production": {
|
|
||||||
"devServerTarget": "dspace-angular-cli:serve:production"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@@ -16,7 +16,7 @@
|
|||||||
"e2e": "ng e2e",
|
"e2e": "ng e2e",
|
||||||
"compile:server": "webpack --config webpack.server.config.js --progress --colors",
|
"compile:server": "webpack --config webpack.server.config.js --progress --colors",
|
||||||
"serve:ssr": "node dist/server",
|
"serve:ssr": "node dist/server",
|
||||||
"ci": "ng lint && yarn run build:prod && yarn test:headless && ng e2e:docker",
|
"ci": "ng lint && yarn run build:prod && yarn test:headless && ng e2e --configuration=travis",
|
||||||
"clean:coverage": "rimraf coverage",
|
"clean:coverage": "rimraf coverage",
|
||||||
"clean:dist": "rimraf dist",
|
"clean:dist": "rimraf dist",
|
||||||
"clean:doc": "rimraf doc",
|
"clean:doc": "rimraf doc",
|
||||||
|
Reference in New Issue
Block a user