From aa49e6d538fd60b1298b2986eb085b0d95e3e9be Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Mon, 23 Jul 2018 23:06:13 +0900 Subject: [PATCH] [WIP] Store artifacts on circleci (#2424) * chore: store artifacts on circleci * chore: update http:// to https:// * chore: update references to relative * chore: status-back from circleci * chore: update node version * Revert "chore: status-back from circleci" This reverts commit bd29ee18c15d6376a96037f4f4ffc565208fe6e1. --- .circleci/config.yml | 9 ++++++--- .gitignore | 12 +++++++++++- htdocs/css/c3.css | 1 - htdocs/js/c3.js | 1 - htdocs/js/c3.min.js | 1 - htdocs/samples/api_axis_label.html | 6 +++--- htdocs/samples/api_axis_range.html | 6 +++--- htdocs/samples/api_category.html | 6 +++--- htdocs/samples/api_data_colors.html | 6 +++--- htdocs/samples/api_flow.html | 6 +++--- htdocs/samples/api_flow_timeseries.html | 6 +++--- htdocs/samples/api_legend.html | 6 +++--- htdocs/samples/api_tooltip_show.html | 6 +++--- htdocs/samples/api_transform.html | 6 +++--- htdocs/samples/api_xgrid_lines.html | 6 +++--- htdocs/samples/api_ygrid_lines.html | 6 +++--- htdocs/samples/api_zoom.html | 6 +++--- htdocs/samples/area_zerobased.html | 6 +++--- htdocs/samples/axes_padding.html | 6 +++--- htdocs/samples/axes_range.html | 6 +++--- htdocs/samples/axes_x_localtime.html | 6 +++--- htdocs/samples/axes_x_range_timeseries.html | 6 +++--- htdocs/samples/axes_x_selection.html | 6 +++--- htdocs/samples/axes_x_tick_culling.html | 6 +++--- htdocs/samples/axes_x_tick_fit.html | 6 +++--- htdocs/samples/axes_x_tick_rotate.html | 6 +++--- htdocs/samples/axes_x_tick_values.html | 6 +++--- htdocs/samples/axes_y2.html | 6 +++--- htdocs/samples/axes_y_default.html | 6 +++--- htdocs/samples/bar_zerobased.html | 6 +++--- htdocs/samples/bindto.html | 6 +++--- htdocs/samples/categorized.html | 6 +++--- htdocs/samples/chart_area.html | 6 +++--- htdocs/samples/chart_area_spline.html | 6 +++--- htdocs/samples/chart_area_spline_stacked.html | 6 +++--- htdocs/samples/chart_area_stacked.html | 6 +++--- htdocs/samples/chart_area_step.html | 6 +++--- htdocs/samples/chart_area_step_stacked.html | 6 +++--- htdocs/samples/chart_bar.html | 6 +++--- htdocs/samples/chart_bar_max_width.html | 6 +++--- htdocs/samples/chart_bar_space.html | 6 +++--- htdocs/samples/chart_bar_stacked.html | 6 +++--- htdocs/samples/chart_combination.html | 6 +++--- htdocs/samples/chart_donut.html | 6 +++--- htdocs/samples/chart_gauge.html | 6 +++--- htdocs/samples/chart_multi_arc_gauge.html | 6 +++--- htdocs/samples/chart_pie.html | 6 +++--- htdocs/samples/chart_pie_sort.html | 6 +++--- htdocs/samples/chart_scatter.html | 6 +++--- htdocs/samples/chart_spline.html | 6 +++--- htdocs/samples/chart_step.html | 6 +++--- htdocs/samples/chart_step_category.html | 6 +++--- htdocs/samples/custom_x_categorized.html | 6 +++--- htdocs/samples/custom_x_scale.html | 6 +++--- htdocs/samples/custom_xs_scale.html | 6 +++--- htdocs/samples/data_columned.html | 6 +++--- htdocs/samples/data_hide.html | 6 +++--- htdocs/samples/data_json.html | 6 +++--- htdocs/samples/data_label.html | 6 +++--- htdocs/samples/data_label_format.html | 6 +++--- htdocs/samples/data_load.html | 6 +++--- htdocs/samples/data_load_timeseries.html | 6 +++--- htdocs/samples/data_region.html | 6 +++--- htdocs/samples/data_region_timeseries.html | 6 +++--- htdocs/samples/data_rowed.html | 6 +++--- htdocs/samples/data_url.html | 6 +++--- htdocs/samples/different_category_datasets.html | 6 +++--- htdocs/samples/domain_y.html | 6 +++--- htdocs/samples/element.html | 8 ++++---- htdocs/samples/emptydata.html | 6 +++--- htdocs/samples/grid_focus.html | 6 +++--- htdocs/samples/grid_x_lines.html | 6 +++--- htdocs/samples/grid_x_lines_timeseries.html | 6 +++--- htdocs/samples/grids.html | 6 +++--- htdocs/samples/grids_timeseries.html | 6 +++--- htdocs/samples/interaction_enabled.html | 6 +++--- htdocs/samples/legend.html | 6 +++--- htdocs/samples/padding.html | 6 +++--- htdocs/samples/padding_update.html | 6 +++--- htdocs/samples/plugin.html | 8 ++++---- htdocs/samples/point_r.html | 6 +++--- htdocs/samples/point_show.html | 6 +++--- htdocs/samples/regions.html | 6 +++--- htdocs/samples/regions_timeseries.html | 6 +++--- htdocs/samples/requirejs.html | 4 ++-- htdocs/samples/selection.html | 6 +++--- htdocs/samples/simple.html | 6 +++--- htdocs/samples/subchart.html | 6 +++--- htdocs/samples/subchart_onbrush.html | 6 +++--- htdocs/samples/timeseries.html | 6 +++--- htdocs/samples/timeseries_date.html | 6 +++--- htdocs/samples/timeseries_descendent.html | 6 +++--- htdocs/samples/timeseries_raw.html | 6 +++--- htdocs/samples/tooltip_grouped.html | 6 +++--- htdocs/samples/tooltip_show.html | 6 +++--- htdocs/samples/zoom.html | 6 +++--- htdocs/samples/zoom_category.html | 6 +++--- htdocs/samples/zoom_onzoom.html | 6 +++--- htdocs/samples/zoom_reduction.html | 16 ++++++++-------- package.json | 11 ++++++----- rollup.config.js | 2 +- 101 files changed, 312 insertions(+), 301 deletions(-) delete mode 120000 htdocs/css/c3.css delete mode 120000 htdocs/js/c3.js delete mode 120000 htdocs/js/c3.min.js diff --git a/.circleci/config.yml b/.circleci/config.yml index 924a800..cc2862b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,7 +2,7 @@ version: 2 jobs: test: docker: - - image: circleci/node:6-browsers + - image: circleci/node:8-browsers steps: - checkout - run: | @@ -10,14 +10,17 @@ jobs: echo "npm v$(npm --version)" echo "$(google-chrome --version)" - restore_cache: - key: npm-1-{{ checksum "package.json" }} + key: npm-1.1-{{ checksum "package.json" }} - run: npm install - save_cache: - key: npm-1-{{ checksum "package.json" }} + key: npm-1.1-{{ checksum "package.json" }} paths: - ./node_modules - run: npm test - run: npm run codecov + - store_artifacts: + path: htdocs + destination: htdocs publish-docs: docker: - image: circleci/ruby:2.4-node diff --git a/.gitignore b/.gitignore index a3f800e..dfafee4 100644 --- a/.gitignore +++ b/.gitignore @@ -4,8 +4,18 @@ bower_components d3.js d3.min.js components -build + +# build +/htdocs/js/c3.js +/htdocs/js/c3.min.js +/htdocs/css/c3.css +/htdocs/css/c3.min.css +/build + +# sass .sass-cache + +# jetbrains .idea/ # coverage report diff --git a/htdocs/css/c3.css b/htdocs/css/c3.css deleted file mode 120000 index 4052640..0000000 --- a/htdocs/css/c3.css +++ /dev/null @@ -1 +0,0 @@ -../../c3.css \ No newline at end of file diff --git a/htdocs/js/c3.js b/htdocs/js/c3.js deleted file mode 120000 index 644b352..0000000 --- a/htdocs/js/c3.js +++ /dev/null @@ -1 +0,0 @@ -../../c3.js \ No newline at end of file diff --git a/htdocs/js/c3.min.js b/htdocs/js/c3.min.js deleted file mode 120000 index a221dd2..0000000 --- a/htdocs/js/c3.min.js +++ /dev/null @@ -1 +0,0 @@ -../../c3.min.js \ No newline at end of file diff --git a/htdocs/samples/api_axis_label.html b/htdocs/samples/api_axis_label.html index db45860..49301d6 100644 --- a/htdocs/samples/api_axis_label.html +++ b/htdocs/samples/api_axis_label.html @@ -1,12 +1,12 @@ - +
- - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - - + + + - + + - + + - + + - + + - + + - + + - + + - + +