Skip to content

Commit

Permalink
fix(ci): remove ivy-related configs & checks, because, ivy is enabled…
Browse files Browse the repository at this point in the history
… by default
  • Loading branch information
daniloff200 committed Jul 2, 2020
1 parent cd2055d commit 44146fd
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 53 deletions.
16 changes: 1 addition & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,6 @@ jobs:
- script: npm run test-coverage
name: "Test with current Angular version"
after_success: ./node_modules/.bin/codecov
- script: ng test --configuration ivy && tsc -p schematics/tsconfig.json && npm run test:schematics
name: "Test with current Angular version Ivy:enabled"
env: NGV=ivy
- script: ng test && tsc -p schematics/tsconfig.json && npm run test:schematics
name: "Test with latest Angular version"
env: NGV=latest
Expand All @@ -120,9 +117,6 @@ jobs:
<<: *testSmokeCy
- script: npm run demo.ng-build
name: "Check prod build with current Angular version"
- script: npm run demo.ng-build:ivy
name: "Check prod build with current version Ivy:enabled"
env: NGV=ivy
- script: npm run demo.ng-build
name: "Check prod build with latest Angular version"
env: NGV=latest
Expand All @@ -146,21 +140,13 @@ jobs:
- &surge
stage: deploy
script:
- if [[ "$NGV" == "ivy" ]]; then npm run demo.build:ivy; fi
- if [[ "$NGV" == "latest" || "$NGV" == "next" ]]; then npm run demo.build:latest; fi
- if [[ "$NGV" != "latest" && "$NGV" != "ivy" && "$NGV" != "next" ]]; then npm run demo.build; fi
- if [[ "$NGV" != "latest" && "$NGV" != "next" ]]; then npm run demo.build; fi
deploy:
provider: surge
project: ./gh-pages/
domain: ngx-bootstrap.surge.sh
on: development
- <<: *surge
env: NGV=ivy
deploy:
provider: surge
project: ./gh-pages/
domain: ngx-bootstrap-ivy.surge.sh
on: development
- <<: *surge
env: NGV=latest
deploy:
Expand Down
32 changes: 0 additions & 32 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,25 +46,6 @@
}
]
},
"ivy": {
"preserveSymlinks": true,
"optimization": true,
"outputHashing": "all",
"tsConfig": "demo/src/tsconfig-ivy.json",
"sourceMap": false,
"extractCss": true,
"namedChunks": true,
"aot": true,
"extractLicenses": true,
"vendorChunk": true,
"buildOptimizer": true,
"fileReplacements": [
{
"replace": "demo/src/environments/environment.ts",
"with": "demo/src/environments/environment.prod.ts"
}
]
},
"server": {
"preserveSymlinks": true,
"optimization": true,
Expand Down Expand Up @@ -96,9 +77,6 @@
},
"server": {
"browserTarget": "ngx-bootstrap:build:server"
},
"ivy": {
"browserTarget": "ngx-bootstrap:build:ivy"
}
}
},
Expand Down Expand Up @@ -126,11 +104,6 @@
"assets": [
"demo/src/assets"
]
},
"configurations": {
"ivy": {
"tsConfig": "src/tsconfig-ivy.spec.json"
}
}
},
"lint": {
Expand Down Expand Up @@ -173,11 +146,6 @@
"demo/src/assets/css/prettify-angulario.css"
],
"assets": []
},
"configurations": {
"ivy": {
"tsConfig": "src/tsconfig-ivy.spec.json"
}
}
},
"lint": {
Expand Down
6 changes: 0 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@
"demo.fetch": "node scripts/fetch-docs.js",
"demo.archive": "node scripts/archive.js",
"demo.ng-build": "ng build --prod",
"demo.ng-build:ivy": "ng build --configuration ivy",
"demo.set-version": "run-s demo.fetch demo.archive",
"demo.deploy-gh-pages": "gh-pages -d gh-pages",
"demo.build": "run-s build demo.gen-docs demo.ng-build demo.set-version",
"demo.build:ivy": "run-s build demo.gen-docs demo.ng-build:ivy demo.set-version",
"demo.build:latest": "run-s build.latest demo.gen-docs demo.ng-build demo.set-version",
"demo.serve": "run-s demo.build lite-server",
"demo.serve-universal": "run-s build:dynamic serve:dynamic",
Expand All @@ -37,10 +35,8 @@
"ci:rename-pkg": "mv node_modules/ngx-bootstrap-ci node_modules/ngx-bootstrap",
"build.sass": "node-sass --recursive src --output dist --source-map true --source-map-contents sass",
"start": "ng serve --aot --host 0.0.0.0",
"start:ivy": "ng serve --configuration ivy --host 0.0.0.0",
"pretest": "run-s lint build",
"test": "ng test && npm run test:schematics",
"test:ivy": "ng test --configuration ivy && npm run test:schematics",
"test:schematics": "jasmine schematics/src/**/*.spec.js",
"test-cross": "SAUCE=true && ng test",
"test-coverage": "ng test --code-coverage",
Expand All @@ -56,10 +52,8 @@
"cy:run:snapshot": "APPLITOOLS_CONCURRENCY=100 cypress run --config integrationFolder=cypress/snapshot",
"view-stats": "webpack-bundle-analyzer demo/dist/stats.json",
"build:ssr": "run-s build build:client-and-server-bundles webpack:server configure-heroku",
"build:ssr:ivy": "run-s build build:client-and-server-bundles:ivy webpack:server configure-heroku",
"serve:ssr": "node demo/dist/server",
"build:client-and-server-bundles": "ng build --prod && ng run ngx-bootstrap:server",
"build:client-and-server-bundles:ivy": "npm run demo.ng-build:ivy && ng run ngx-bootstrap:server",
"webpack:server": "webpack --config ./scripts/universal/webpack.server.config.js --progress --colors",
"configure-heroku": "node scripts/universal/configure-heroku.js"
},
Expand Down

0 comments on commit 44146fd

Please sign in to comment.