ci: make sure npm is installed in tests

Also update node to version 10.
27 jobs for master in 6 minutes and 49 seconds (queued for 5 seconds)
latest
Status Name Job ID Coverage
  Test
failed py3.5-min-mysql #462489

00:03:36

failed py3.5-min-postgresql #462482

00:03:30

failed py3.5-min-sqlite #462477

00:03:04

failed py3.5-pypi-mysql #462498

00:03:56

failed py3.5-pypi-postgresql #462488

00:02:37

failed py3.5-pypi-sqlite #462481

00:02:42

failed py3.6-min-mysql #462503

00:01:49

failed py3.6-min-postgresql #462499

00:02:31

failed py3.6-min-sqlite #462494

00:01:38

failed py3.6-pypi-mysql #462504

00:02:33

failed py3.6-pypi-postgresql #462501

00:01:44

failed py3.6-pypi-sqlite #462497

00:01:51

failed test-docs #462409

00:01:13

failed py3.5-min-mysql #462388

00:04:04

failed py3.5-min-postgresql #462369

00:03:05

failed py3.5-min-sqlite #462367

00:02:59

failed py3.5-pypi-mysql #462390

00:04:09

failed py3.5-pypi-postgresql #462370

00:03:03

failed py3.5-pypi-sqlite #462368

00:02:46

failed py3.6-min-mysql #462405

00:02:43

failed py3.6-min-postgresql #462399

00:01:50

failed py3.6-min-sqlite #462393

00:01:39

failed py3.6-pypi-mysql #462407

00:02:36

failed py3.6-pypi-postgresql #462402

00:02:18

failed py3.6-pypi-sqlite #462394

00:02:07

 
  Coverage
skipped global-coverage #462412
 
  Deploy
skipped pages #462415
 
Name Stage Failure
failed
py3.6-min-postgresql Test
Running after script...
$ mv .coverage .coverage.${CI_JOB_ID}
mv: cannot stat '.coverage': No such file or directory
Uploading artifacts for failed job
Uploading artifacts...
WARNING: /builds/rodare/invenio-uploadbyurl/report.xml: no matching files
ERROR: No files to upload
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
py3.5-min-mysql Test
Running after script...
$ mv .coverage .coverage.${CI_JOB_ID}
mv: cannot stat '.coverage': No such file or directory
Uploading artifacts for failed job
Uploading artifacts...
WARNING: /builds/rodare/invenio-uploadbyurl/report.xml: no matching files
ERROR: No files to upload
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
py3.5-pypi-sqlite Test
Running after script...
$ mv .coverage .coverage.${CI_JOB_ID}
mv: cannot stat '.coverage': No such file or directory
Uploading artifacts for failed job
Uploading artifacts...
WARNING: /builds/rodare/invenio-uploadbyurl/report.xml: no matching files
ERROR: No files to upload
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
py3.6-pypi-postgresql Test
Running after script...
$ mv .coverage .coverage.${CI_JOB_ID}
mv: cannot stat '.coverage': No such file or directory
Uploading artifacts for failed job
Uploading artifacts...
WARNING: /builds/rodare/invenio-uploadbyurl/report.xml: no matching files
ERROR: No files to upload
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
py3.5-min-postgresql Test
Running after script...
$ mv .coverage .coverage.${CI_JOB_ID}
mv: cannot stat '.coverage': No such file or directory
Uploading artifacts for failed job
Uploading artifacts...
WARNING: /builds/rodare/invenio-uploadbyurl/report.xml: no matching files
ERROR: No files to upload
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
test-docs Test
    invenio-files-rest 1.0.0a22 depends on fs<2.0 and >=0.5.4

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
py3.6-min-mysql Test
Running after script...
$ mv .coverage .coverage.${CI_JOB_ID}
mv: cannot stat '.coverage': No such file or directory
Uploading artifacts for failed job
Uploading artifacts...
WARNING: /builds/rodare/invenio-uploadbyurl/report.xml: no matching files
ERROR: No files to upload
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
py3.5-min-sqlite Test
Running after script...
$ mv .coverage .coverage.${CI_JOB_ID}
mv: cannot stat '.coverage': No such file or directory
Uploading artifacts for failed job
Uploading artifacts...
WARNING: /builds/rodare/invenio-uploadbyurl/report.xml: no matching files
ERROR: No files to upload
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
py3.6-min-sqlite Test
Running after script...
$ mv .coverage .coverage.${CI_JOB_ID}
mv: cannot stat '.coverage': No such file or directory
Uploading artifacts for failed job
Uploading artifacts...
WARNING: /builds/rodare/invenio-uploadbyurl/report.xml: no matching files
ERROR: No files to upload
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
py3.6-pypi-sqlite Test
Running after script...
$ mv .coverage .coverage.${CI_JOB_ID}
mv: cannot stat '.coverage': No such file or directory
Uploading artifacts for failed job
Uploading artifacts...
WARNING: /builds/rodare/invenio-uploadbyurl/report.xml: no matching files
ERROR: No files to upload
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
py3.5-pypi-postgresql Test
Running after script...
$ mv .coverage .coverage.${CI_JOB_ID}
mv: cannot stat '.coverage': No such file or directory
Uploading artifacts for failed job
Uploading artifacts...
WARNING: /builds/rodare/invenio-uploadbyurl/report.xml: no matching files
ERROR: No files to upload
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
py3.5-pypi-mysql Test
Running after script...
$ mv .coverage .coverage.${CI_JOB_ID}
mv: cannot stat '.coverage': No such file or directory
Uploading artifacts for failed job
Uploading artifacts...
WARNING: /builds/rodare/invenio-uploadbyurl/report.xml: no matching files
ERROR: No files to upload
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

failed
py3.6-pypi-mysql Test
Running after script...
$ mv .coverage .coverage.${CI_JOB_ID}
mv: cannot stat '.coverage': No such file or directory
Uploading artifacts for failed job
Uploading artifacts...
WARNING: /builds/rodare/invenio-uploadbyurl/report.xml: no matching files
ERROR: No files to upload
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1