mirror of https://github.com/snachodog/mybuddy.git
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:
parent
69798ff490
commit
49156c1d80
42
.travis.yml
42
.travis.yml
|
@ -1,25 +1,31 @@
|
|||
sudo: false
|
||||
dist: xenial
|
||||
language: python
|
||||
language: generic
|
||||
dist: bionic
|
||||
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:
|
||||
pip: true
|
||||
directories:
|
||||
- node_modules
|
||||
python:
|
||||
- 3.6
|
||||
- 3.7
|
||||
- 3.8
|
||||
directories:
|
||||
- $HOME/.cache/pip
|
||||
- node_modules
|
||||
env:
|
||||
- DJANGO_SETTINGS_MODULE="babybuddy.settings.travis"
|
||||
- DJANGO_SETTINGS_MODULE="babybuddy.settings.travis"
|
||||
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
|
||||
- npm install -g gulp-cli && npm install
|
||||
- pip install pipenv && pipenv install --dev
|
||||
- nvm use 10
|
||||
- npm install -g gulp-cli && npm install
|
||||
- pip install pipenv && pipenv install --dev
|
||||
before_script:
|
||||
- gulp lint
|
||||
- gulp lint
|
||||
script:
|
||||
- gulp coverage
|
||||
- gulp coverage
|
||||
after_success:
|
||||
- pipenv run coveralls
|
||||
- pipenv run coveralls
|
||||
notifications:
|
||||
email: false
|
||||
email: false
|
||||
|
|
|
@ -81,6 +81,7 @@ newly translated strings.
|
|||
Once the translation is complete, commit the new files and changes to a fork
|
||||
and [create a pull request](#pull-request-process) for review.
|
||||
|
||||
|
||||
For more information on the Django translation process, see Django's
|
||||
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
|
||||
|
||||
- Python 3.6+, pip, pipenv
|
||||
- NodeJS 8.x+ and NPM 5.x+
|
||||
- NodeJS 10.x+ and NPM 6.x+
|
||||
- Gulp
|
||||
|
||||
### Installation
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -17,14 +17,14 @@
|
|||
"gulp-sass": "^4.0.2",
|
||||
"gulp-sass-glob": "^1.1.0",
|
||||
"gulp-spawn": "^0.4.5",
|
||||
"gulp-stylelint": "^11.0.0",
|
||||
"gulp-stylelint": "^13.0.0",
|
||||
"gulp-uglify": "^3.0.2",
|
||||
"jquery": "^3.4.1",
|
||||
"moment": "^2.24.0",
|
||||
"plotly.js": "^1.51.3",
|
||||
"popper.js": "^1.16.0",
|
||||
"plotly.js": "^1.52.1",
|
||||
"popper.js": "^1.16.1",
|
||||
"pump": "^3.0.0",
|
||||
"stylelint": "^12.0.1",
|
||||
"stylelint": "^13.0.0",
|
||||
"stylelint-config-recommended-scss": "^4.1.0",
|
||||
"stylelint-order": "^4.0.0",
|
||||
"stylelint-scss": "^3.13.0",
|
||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
@ -10599,7 +10599,7 @@ return jQuery;
|
|||
|
||||
/**!
|
||||
* @fileOverview Kickass library to create and place poppers near their reference elements.
|
||||
* @version 1.16.0
|
||||
* @version 1.16.1
|
||||
* @license
|
||||
* Copyright (c) 2016 Federico Zivolo and contributors
|
||||
*
|
||||
|
@ -10951,7 +10951,7 @@ function getBordersSize(styles, axis) {
|
|||
var sideA = axis === 'x' ? 'Left' : 'Top';
|
||||
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) {
|
||||
|
@ -11106,8 +11106,8 @@ function getOffsetRectRelativeToArbitraryNode(children, parent) {
|
|||
var scrollParent = getScrollParent(children);
|
||||
|
||||
var styles = getStyleComputedProperty(parent);
|
||||
var borderTopWidth = parseFloat(styles.borderTopWidth, 10);
|
||||
var borderLeftWidth = parseFloat(styles.borderLeftWidth, 10);
|
||||
var borderTopWidth = parseFloat(styles.borderTopWidth);
|
||||
var borderLeftWidth = parseFloat(styles.borderLeftWidth);
|
||||
|
||||
// In cases where the parent is fixed, we must ignore negative scroll in offset calc
|
||||
if (fixedPosition && isHTML) {
|
||||
|
@ -11128,8 +11128,8 @@ function getOffsetRectRelativeToArbitraryNode(children, parent) {
|
|||
// differently when margins are applied to it. The margins are included in
|
||||
// the box of the documentElement, in the other cases not.
|
||||
if (!isIE10 && isHTML) {
|
||||
var marginTop = parseFloat(styles.marginTop, 10);
|
||||
var marginLeft = parseFloat(styles.marginLeft, 10);
|
||||
var marginTop = parseFloat(styles.marginTop);
|
||||
var marginLeft = parseFloat(styles.marginLeft);
|
||||
|
||||
offsets.top -= borderTopWidth - marginTop;
|
||||
offsets.bottom -= borderTopWidth - marginTop;
|
||||
|
@ -12068,8 +12068,8 @@ function arrow(data, options) {
|
|||
// Compute the sideValue using the updated popper offsets
|
||||
// take popper margin in account because we don't have this info available
|
||||
var css = getStyleComputedProperty(data.instance.popper);
|
||||
var popperMarginSide = parseFloat(css['margin' + sideCapitalized], 10);
|
||||
var popperBorderSide = parseFloat(css['border' + sideCapitalized + 'Width'], 10);
|
||||
var popperMarginSide = parseFloat(css['margin' + sideCapitalized]);
|
||||
var popperBorderSide = parseFloat(css['border' + sideCapitalized + 'Width']);
|
||||
var sideValue = center - data.offsets.popper[side] - popperMarginSide - popperBorderSide;
|
||||
|
||||
// prevent arrowElement from being placed not contiguously to its popper
|
Binary file not shown.
|
@ -10599,7 +10599,7 @@ return jQuery;
|
|||
|
||||
/**!
|
||||
* @fileOverview Kickass library to create and place poppers near their reference elements.
|
||||
* @version 1.16.0
|
||||
* @version 1.16.1
|
||||
* @license
|
||||
* Copyright (c) 2016 Federico Zivolo and contributors
|
||||
*
|
||||
|
@ -10951,7 +10951,7 @@ function getBordersSize(styles, axis) {
|
|||
var sideA = axis === 'x' ? 'Left' : 'Top';
|
||||
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) {
|
||||
|
@ -11106,8 +11106,8 @@ function getOffsetRectRelativeToArbitraryNode(children, parent) {
|
|||
var scrollParent = getScrollParent(children);
|
||||
|
||||
var styles = getStyleComputedProperty(parent);
|
||||
var borderTopWidth = parseFloat(styles.borderTopWidth, 10);
|
||||
var borderLeftWidth = parseFloat(styles.borderLeftWidth, 10);
|
||||
var borderTopWidth = parseFloat(styles.borderTopWidth);
|
||||
var borderLeftWidth = parseFloat(styles.borderLeftWidth);
|
||||
|
||||
// In cases where the parent is fixed, we must ignore negative scroll in offset calc
|
||||
if (fixedPosition && isHTML) {
|
||||
|
@ -11128,8 +11128,8 @@ function getOffsetRectRelativeToArbitraryNode(children, parent) {
|
|||
// differently when margins are applied to it. The margins are included in
|
||||
// the box of the documentElement, in the other cases not.
|
||||
if (!isIE10 && isHTML) {
|
||||
var marginTop = parseFloat(styles.marginTop, 10);
|
||||
var marginLeft = parseFloat(styles.marginLeft, 10);
|
||||
var marginTop = parseFloat(styles.marginTop);
|
||||
var marginLeft = parseFloat(styles.marginLeft);
|
||||
|
||||
offsets.top -= borderTopWidth - marginTop;
|
||||
offsets.bottom -= borderTopWidth - marginTop;
|
||||
|
@ -12068,8 +12068,8 @@ function arrow(data, options) {
|
|||
// Compute the sideValue using the updated popper offsets
|
||||
// take popper margin in account because we don't have this info available
|
||||
var css = getStyleComputedProperty(data.instance.popper);
|
||||
var popperMarginSide = parseFloat(css['margin' + sideCapitalized], 10);
|
||||
var popperBorderSide = parseFloat(css['border' + sideCapitalized + 'Width'], 10);
|
||||
var popperMarginSide = parseFloat(css['margin' + sideCapitalized]);
|
||||
var popperBorderSide = parseFloat(css['border' + sideCapitalized + 'Width']);
|
||||
var sideValue = center - data.offsets.popper[side] - popperMarginSide - popperBorderSide;
|
||||
|
||||
// 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
Loading…
Reference in New Issue