Skip to content

Commit

Permalink
Merge pull request #119 from jason-fox/patch-2
Browse files Browse the repository at this point in the history
Bump node to Node 10
  • Loading branch information
apozohue10 committed Dec 12, 2019
2 parents 316027d + 93f3de6 commit f3a830b
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 29 deletions.
62 changes: 34 additions & 28 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,15 @@
branches:
only:
- master

addons:
apt:
packages:
- build-essential
- python

jobs:
include:
- stage: test
name: "Unit Tests: Node 8"
language: node_js
sudo: required
dist: xenial

node_js:
- "8"

services:
- mysql

install:
- npm install

before_install:
- sudo mysql -e "use mysql; update user set authentication_string=password('test') where user='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
- sudo mysql_upgrade -u root -ptest
- sudo service mysql restart
- cp test/config_test.js.template config.js

before_script:
- npm run lint

after_script:
- npm run test:coveralls

- stage: test
name: "Unit Tests: Node 10"
language: node_js
Expand Down Expand Up @@ -58,6 +37,33 @@ jobs:
after_script:
- npm run test:coveralls

# - stage: test
# name: "Unit Tests: Node 12"
# language: node_js
# sudo: required
# dist: xenial
#
# node_js:
# - "12"
#
# services:
# - mysql
#
# install:
# - npm install
#
# before_install:
# - sudo mysql -e "use mysql; update user set authentication_string=password('test') where user='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
# - sudo mysql_upgrade -u root -ptest
# - sudo service mysql restart
# - cp test/config_test.js.template config.js
#
# before_script:
# - npm run lint
#
# after_script:
# - npm run test:coveralls

- stage: test
name: "Documentation Tests"
language: node_js
Expand All @@ -70,4 +76,4 @@ jobs:

script:
- npm run lint:md
- npm run lint:text
- npm run lint:text
2 changes: 1 addition & 1 deletion extras/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG NODE_VERSION=8.16.1-slim
ARG NODE_VERSION=10.17.0-slim
FROM node:${NODE_VERSION}
ARG GITHUB_ACCOUNT=ging
ARG GITHUB_REPOSITORY=fiware-idm
Expand Down

0 comments on commit f3a830b

Please sign in to comment.