Update to Node 10 minimum version for development (#97)

Updates Travis CI configuration to support Node 10 directly with the `generic` language for supported Python versions.
This commit is contained in:
Christopher Charbonneau Wells 2020-01-24 21:24:43 -08:00 committed by GitHub
parent 69798ff490
commit 49156c1d80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 4846 additions and 2561 deletions

View File

@ -1,25 +1,31 @@
sudo: false language: generic
dist: xenial dist: bionic
language: python jobs:
include:
- name: "Python 3.6"
before_install:
- pyenv global 3.6.9
- name: "Python 3.7"
before_install:
- pyenv global 3.7.5
- name: "Python 3.8"
before_install:
- pyenv global 3.8.0
cache: cache:
pip: true directories:
directories: - $HOME/.cache/pip
- node_modules - node_modules
python:
- 3.6
- 3.7
- 3.8
env: env:
- DJANGO_SETTINGS_MODULE="babybuddy.settings.travis" - DJANGO_SETTINGS_MODULE="babybuddy.settings.travis"
install: install:
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install 8 - nvm use 10
- npm install -g gulp-cli && npm install - npm install -g gulp-cli && npm install
- pip install pipenv && pipenv install --dev - pip install pipenv && pipenv install --dev
before_script: before_script:
- gulp lint - gulp lint
script: script:
- gulp coverage - gulp coverage
after_success: after_success:
- pipenv run coveralls - pipenv run coveralls
notifications: notifications:
email: false email: false

View File

@ -81,6 +81,7 @@ newly translated strings.
Once the translation is complete, commit the new files and changes to a fork Once the translation is complete, commit the new files and changes to a fork
and [create a pull request](#pull-request-process) for review. and [create a pull request](#pull-request-process) for review.
For more information on the Django translation process, see Django's For more information on the Django translation process, see Django's
documentation section: [Translation](https://docs.djangoproject.com/en/3.0/topics/i18n/translation/). documentation section: [Translation](https://docs.djangoproject.com/en/3.0/topics/i18n/translation/).
@ -89,7 +90,7 @@ documentation section: [Translation](https://docs.djangoproject.com/en/3.0/topic
### Requirements ### Requirements
- Python 3.6+, pip, pipenv - Python 3.6+, pip, pipenv
- NodeJS 8.x+ and NPM 5.x+ - NodeJS 10.x+ and NPM 6.x+
- Gulp - Gulp
### Installation ### Installation

928
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -17,14 +17,14 @@
"gulp-sass": "^4.0.2", "gulp-sass": "^4.0.2",
"gulp-sass-glob": "^1.1.0", "gulp-sass-glob": "^1.1.0",
"gulp-spawn": "^0.4.5", "gulp-spawn": "^0.4.5",
"gulp-stylelint": "^11.0.0", "gulp-stylelint": "^13.0.0",
"gulp-uglify": "^3.0.2", "gulp-uglify": "^3.0.2",
"jquery": "^3.4.1", "jquery": "^3.4.1",
"moment": "^2.24.0", "moment": "^2.24.0",
"plotly.js": "^1.51.3", "plotly.js": "^1.52.1",
"popper.js": "^1.16.0", "popper.js": "^1.16.1",
"pump": "^3.0.0", "pump": "^3.0.0",
"stylelint": "^12.0.1", "stylelint": "^13.0.0",
"stylelint-config-recommended-scss": "^4.1.0", "stylelint-config-recommended-scss": "^4.1.0",
"stylelint-order": "^4.0.0", "stylelint-order": "^4.0.0",
"stylelint-scss": "^3.13.0", "stylelint-scss": "^3.13.0",

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -10599,7 +10599,7 @@ return jQuery;
/**! /**!
* @fileOverview Kickass library to create and place poppers near their reference elements. * @fileOverview Kickass library to create and place poppers near their reference elements.
* @version 1.16.0 * @version 1.16.1
* @license * @license
* Copyright (c) 2016 Federico Zivolo and contributors * Copyright (c) 2016 Federico Zivolo and contributors
* *
@ -10951,7 +10951,7 @@ function getBordersSize(styles, axis) {
var sideA = axis === 'x' ? 'Left' : 'Top'; var sideA = axis === 'x' ? 'Left' : 'Top';
var sideB = sideA === 'Left' ? 'Right' : 'Bottom'; var sideB = sideA === 'Left' ? 'Right' : 'Bottom';
return parseFloat(styles['border' + sideA + 'Width'], 10) + parseFloat(styles['border' + sideB + 'Width'], 10); return parseFloat(styles['border' + sideA + 'Width']) + parseFloat(styles['border' + sideB + 'Width']);
} }
function getSize(axis, body, html, computedStyle) { function getSize(axis, body, html, computedStyle) {
@ -11106,8 +11106,8 @@ function getOffsetRectRelativeToArbitraryNode(children, parent) {
var scrollParent = getScrollParent(children); var scrollParent = getScrollParent(children);
var styles = getStyleComputedProperty(parent); var styles = getStyleComputedProperty(parent);
var borderTopWidth = parseFloat(styles.borderTopWidth, 10); var borderTopWidth = parseFloat(styles.borderTopWidth);
var borderLeftWidth = parseFloat(styles.borderLeftWidth, 10); var borderLeftWidth = parseFloat(styles.borderLeftWidth);
// In cases where the parent is fixed, we must ignore negative scroll in offset calc // In cases where the parent is fixed, we must ignore negative scroll in offset calc
if (fixedPosition && isHTML) { if (fixedPosition && isHTML) {
@ -11128,8 +11128,8 @@ function getOffsetRectRelativeToArbitraryNode(children, parent) {
// differently when margins are applied to it. The margins are included in // differently when margins are applied to it. The margins are included in
// the box of the documentElement, in the other cases not. // the box of the documentElement, in the other cases not.
if (!isIE10 && isHTML) { if (!isIE10 && isHTML) {
var marginTop = parseFloat(styles.marginTop, 10); var marginTop = parseFloat(styles.marginTop);
var marginLeft = parseFloat(styles.marginLeft, 10); var marginLeft = parseFloat(styles.marginLeft);
offsets.top -= borderTopWidth - marginTop; offsets.top -= borderTopWidth - marginTop;
offsets.bottom -= borderTopWidth - marginTop; offsets.bottom -= borderTopWidth - marginTop;
@ -12068,8 +12068,8 @@ function arrow(data, options) {
// Compute the sideValue using the updated popper offsets // Compute the sideValue using the updated popper offsets
// take popper margin in account because we don't have this info available // take popper margin in account because we don't have this info available
var css = getStyleComputedProperty(data.instance.popper); var css = getStyleComputedProperty(data.instance.popper);
var popperMarginSide = parseFloat(css['margin' + sideCapitalized], 10); var popperMarginSide = parseFloat(css['margin' + sideCapitalized]);
var popperBorderSide = parseFloat(css['border' + sideCapitalized + 'Width'], 10); var popperBorderSide = parseFloat(css['border' + sideCapitalized + 'Width']);
var sideValue = center - data.offsets.popper[side] - popperMarginSide - popperBorderSide; var sideValue = center - data.offsets.popper[side] - popperMarginSide - popperBorderSide;
// prevent arrowElement from being placed not contiguously to its popper // prevent arrowElement from being placed not contiguously to its popper

View File

@ -10599,7 +10599,7 @@ return jQuery;
/**! /**!
* @fileOverview Kickass library to create and place poppers near their reference elements. * @fileOverview Kickass library to create and place poppers near their reference elements.
* @version 1.16.0 * @version 1.16.1
* @license * @license
* Copyright (c) 2016 Federico Zivolo and contributors * Copyright (c) 2016 Federico Zivolo and contributors
* *
@ -10951,7 +10951,7 @@ function getBordersSize(styles, axis) {
var sideA = axis === 'x' ? 'Left' : 'Top'; var sideA = axis === 'x' ? 'Left' : 'Top';
var sideB = sideA === 'Left' ? 'Right' : 'Bottom'; var sideB = sideA === 'Left' ? 'Right' : 'Bottom';
return parseFloat(styles['border' + sideA + 'Width'], 10) + parseFloat(styles['border' + sideB + 'Width'], 10); return parseFloat(styles['border' + sideA + 'Width']) + parseFloat(styles['border' + sideB + 'Width']);
} }
function getSize(axis, body, html, computedStyle) { function getSize(axis, body, html, computedStyle) {
@ -11106,8 +11106,8 @@ function getOffsetRectRelativeToArbitraryNode(children, parent) {
var scrollParent = getScrollParent(children); var scrollParent = getScrollParent(children);
var styles = getStyleComputedProperty(parent); var styles = getStyleComputedProperty(parent);
var borderTopWidth = parseFloat(styles.borderTopWidth, 10); var borderTopWidth = parseFloat(styles.borderTopWidth);
var borderLeftWidth = parseFloat(styles.borderLeftWidth, 10); var borderLeftWidth = parseFloat(styles.borderLeftWidth);
// In cases where the parent is fixed, we must ignore negative scroll in offset calc // In cases where the parent is fixed, we must ignore negative scroll in offset calc
if (fixedPosition && isHTML) { if (fixedPosition && isHTML) {
@ -11128,8 +11128,8 @@ function getOffsetRectRelativeToArbitraryNode(children, parent) {
// differently when margins are applied to it. The margins are included in // differently when margins are applied to it. The margins are included in
// the box of the documentElement, in the other cases not. // the box of the documentElement, in the other cases not.
if (!isIE10 && isHTML) { if (!isIE10 && isHTML) {
var marginTop = parseFloat(styles.marginTop, 10); var marginTop = parseFloat(styles.marginTop);
var marginLeft = parseFloat(styles.marginLeft, 10); var marginLeft = parseFloat(styles.marginLeft);
offsets.top -= borderTopWidth - marginTop; offsets.top -= borderTopWidth - marginTop;
offsets.bottom -= borderTopWidth - marginTop; offsets.bottom -= borderTopWidth - marginTop;
@ -12068,8 +12068,8 @@ function arrow(data, options) {
// Compute the sideValue using the updated popper offsets // Compute the sideValue using the updated popper offsets
// take popper margin in account because we don't have this info available // take popper margin in account because we don't have this info available
var css = getStyleComputedProperty(data.instance.popper); var css = getStyleComputedProperty(data.instance.popper);
var popperMarginSide = parseFloat(css['margin' + sideCapitalized], 10); var popperMarginSide = parseFloat(css['margin' + sideCapitalized]);
var popperBorderSide = parseFloat(css['border' + sideCapitalized + 'Width'], 10); var popperBorderSide = parseFloat(css['border' + sideCapitalized + 'Width']);
var sideValue = center - data.offsets.popper[side] - popperMarginSide - popperBorderSide; var sideValue = center - data.offsets.popper[side] - popperMarginSide - popperBorderSide;
// prevent arrowElement from being placed not contiguously to its popper // prevent arrowElement from being placed not contiguously to its popper

Binary file not shown.

File diff suppressed because one or more lines are too long