1

Estoy practicando estructuras de datos en typescript y en mi local obtengo el reporte de cobertura sin problemas

reporte de cobertura

pero en travis-ci no me aparece.

reporte vacio de cobertura en travis

¿Existirá algún problema de configuación con node o un poblema propio de travis?.

Es mi tercer poyecto con typescript, así que no sé distinguir la diferencia.

Información adicional:

{
  "name": "datastructurestypescript",
  "version": "0.0.1",
  "private": false,
  "scripts": {
    "pretest": "nyc mocha -r ts-node/register public/tests/**/*.ts",
    "test": "nyc report --reporter=json",
    "posttest": "codecov -f coverage/*.json -t b8b6c1c6-4dda-4fd4-8298-443e08034f2c"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/javatlacati/datastructurestypescript.git"
  },
  "devDependencies": {
    "chai": "^4.1.2",
    "mocha": "^4.0.1",
    "ts-node": "^3.3.0",
    "@types/npm": "^2.0.29",
    "nyc": "^11.4.1",
    "codecov": "^1.0.1"
  },
  "main": "dist/index",
  "typings": "dist/index",
  "author": "RUSLAN LOPEZ",
  "license": "LGPL-3.0-or-later"
}
  • travis-yml
dist: trusty
sudo: false
language: node_js

node_js:
  - node
#  - lts/* # safety net; don't remove
#  - node # safety net; don't remove
before_script:
  - npm install typescript
  - npm install @types/chai
  - npm install @types/mocha

0

Tu Respuesta

By clicking “Publica tu respuesta”, you agree to our terms of service and acknowledge you have read our privacy policy.

Examina otras preguntas con la etiqueta o formula tu propia pregunta.