-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* develop: bump template version (1.3.0) chore: remove extra comma (#1240) Improve template CI tests (close #1218) Revert "fix bad alias (fix #1239)" Typo, whitespace and Style Guide fixes (#1231) Update runner.js (#1235) remove unnecessary option. bumping eslint dependencies fix bad alias (fix #1239) remove duplicate lines in gitignore (#1214) fix historyFallback rewrite for Windows systems improved comments in eslintrc updated linting docs. respect eslint rule for order of options. switch to essential ruleset. add eslint-plugin-vue # Conflicts: # template/build/build.js
- Loading branch information
Showing
22 changed files
with
2,564 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,137 @@ | ||
version: 2 | ||
vm_settings: &vm_settings | ||
docker: | ||
- image: circleci/node:8.9.4-browsers | ||
|
||
jobs: | ||
install_template_deps: | ||
<<: *vm_settings | ||
working_directory: ~/project/webpack-template | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
key: template-cache-{{ checksum "package.json" }} | ||
- run: | ||
name: Install npm dependencies | ||
command: npm install | ||
- save_cache: | ||
key: template-cache-{{ checksum "package.json" }} | ||
paths: | ||
- node_modules | ||
- run: | ||
name: Rollout minimal scenario | ||
command: VUE_TEMPL_TEST=minimal node_modules/.bin/vue init . test-minimal | ||
- run: | ||
name: Rollout full scenario | ||
command: VUE_TEMPL_TEST=full node_modules/.bin/vue init . test-full | ||
- run: | ||
name: Rollout full-karma-airbnb scenario | ||
command: VUE_TEMPL_TEST=full-karma-airbnb node_modules/.bin/vue init . test-full-karma-airbnb | ||
- persist_to_workspace: | ||
root: ~/project/webpack-template | ||
paths: | ||
- node_modules | ||
- test-* | ||
|
||
scenario_minimal: | ||
<<: *vm_settings | ||
environment: | ||
- VUE_TEMPL_TEST: minimal | ||
working_directory: ~/project/webpack-template/test-minimal | ||
steps: | ||
- attach_workspace: | ||
at: '~/project/webpack-template' | ||
- restore_cache: | ||
key: template-cache-minimal-{{ checksum "package.json" }} | ||
- run: | ||
name: Install npm dependencies | ||
command: npm install | ||
- save_cache: | ||
key: template-cache-minimal-{{ checksum "package.json" }} | ||
paths: | ||
- node_modules | ||
- run: | ||
name: Test build | ||
command: npm run build | ||
|
||
scenario_full: | ||
<<: *vm_settings | ||
working_directory: ~/project/webpack-template/test-full | ||
environment: | ||
- VUE_TEMPL_TEST: full | ||
steps: | ||
- attach_workspace: | ||
at: '~/project/webpack-template' | ||
- restore_cache: | ||
key: template-cache-full-{{ checksum "package.json" }} | ||
- run: | ||
name: Install npm dependencies | ||
command: npm install | ||
- save_cache: | ||
key: template-cache-full-{{ checksum "package.json" }} | ||
paths: | ||
- node_modules | ||
- run: | ||
name: Run Lint | ||
command: npm run lint -- --fix | ||
- run: | ||
name: Run Unit tests | ||
command: npm run unit | ||
when: always | ||
- run: | ||
name: Run e2e tests | ||
command: npm run e2e | ||
when: always | ||
- run: | ||
name: Test build | ||
command: npm run build | ||
when: always | ||
|
||
scenario_full-karma-airbnb: | ||
<<: *vm_settings | ||
working_directory: ~/project/webpack-template/test-full-karma-airbnb | ||
environment: | ||
- VUE_TEMPL_TEST: full-karma-airbnb | ||
steps: | ||
- attach_workspace: | ||
at: '~/project/webpack-template' | ||
- restore_cache: | ||
key: template-cache-full-karma-airbnb-{{ checksum "package.json" }} | ||
- run: | ||
name: Install npm dependencies | ||
command: npm install | ||
- save_cache: | ||
key: template-cache-full-karma-airbnb-{{ checksum "package.json" }} | ||
paths: | ||
- node_modules | ||
- run: | ||
name: Run Lint | ||
command: npm run lint -- --fix | ||
- run: | ||
name: Run Unit tests | ||
command: npm run unit | ||
when: always | ||
- run: | ||
name: Run e2e tests | ||
command: npm run e2e | ||
when: always | ||
- run: | ||
name: Test build | ||
command: npm run build | ||
when: always | ||
|
||
|
||
workflows: | ||
version: 2 | ||
build_and_test: | ||
jobs: | ||
- install_template_deps | ||
- scenario_minimal: | ||
requires: | ||
- install_template_deps | ||
- scenario_full: | ||
requires: | ||
- install_template_deps | ||
- scenario_full-karma-airbnb: | ||
requires: | ||
- install_template_deps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,3 @@ node_modules | |
.DS_Store | ||
docs/_book | ||
test/ | ||
node_modules | ||
.DS_Store | ||
docs/_book | ||
test/ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.