Commits

lotte authored 9043e1375c7
fixed e2e script that uses docker
No tags

angular.json

Modified
64 64 "type": "initial",
65 65 "maximumWarning": "3mb",
66 66 "maximumError": "5mb"
67 67 },
68 68 {
69 69 "type": "anyComponentStyle",
70 70 "maximumWarning": "6kb",
71 71 "maximumError": "10kb"
72 72 }
73 73 ]
74 + },
75 + "travis": {
76 + "fileReplacements": [
77 + {
78 + "replace": "src/environments/environment.ts",
79 + "with": "src/environments/environment.travis.ts"
80 + }
81 + ]
74 82 }
75 83 }
76 84 },
77 85 "serve": {
78 86 "builder": "@angular-builders/custom-webpack:dev-server",
79 87 "options": {
80 88 "browserTarget": "dspace-angular-cli:build"
81 89 },
82 90 "configurations": {
83 91 "production": {
84 92 "browserTarget": "dspace-angular-cli:build:production"
93 + },
94 + "travis": {
95 + "browserTarget": "dspace-angular-cli:build:travis"
85 96 }
86 97 }
87 98 },
88 99 "extract-i18n": {
89 100 "builder": "@angular-devkit/build-angular:extract-i18n",
90 101 "options": {
91 102 "browserTarget": "dspace-angular-cli:build"
92 103 }
93 104 },
94 105 "test": {
134 145 },
135 146 "e2e": {
136 147 "builder": "@angular-devkit/build-angular:protractor",
137 148 "options": {
138 149 "protractorConfig": "e2e/protractor.conf.js",
139 150 "devServerTarget": "dspace-angular-cli:serve"
140 151 },
141 152 "configurations": {
142 153 "production": {
143 154 "devServerTarget": "dspace-angular-cli:serve:production"
144 - }
145 - }
146 - },
147 - "e2e:docker": {
148 - "builder": "@angular-devkit/build-angular:protractor",
149 - "options": {
150 - "protractorConfig": "e2e/protractor.conf.js",
151 - "devServerTarget": "dspace-angular-cli:serve"
152 - },
153 - "configurations": {
154 - "production": {
155 - "devServerTarget": "dspace-angular-cli:serve:production"
155 + },
156 + "travis": {
157 + "devServerTarget": "dspace-angular-cli:serve:travis"
156 158 }
157 159 }
158 160 },
159 161 "server": {
160 162 "builder": "@angular-builders/custom-webpack:server",
161 163 "options": {
162 164 "customWebpackConfig": {
163 165 "path": "./webpack/webpack.prod.ts",
164 166 "mergeStrategies": {
165 167 "loaders": "prepend"

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut