.travis.yml 608 B

123456789101112131415161718192021222324252627
  1. language: node_js
  2. matrix:
  3. include:
  4. - node_js: "10"
  5. env: NPM_VERSION=""
  6. - node_js: "9"
  7. env: NPM_VERSION=""
  8. - node_js: "8"
  9. env: NPM_VERSION=""
  10. - node_js: "7"
  11. env: NPM_VERSION=""
  12. - node_js: "6"
  13. env: NPM_VERSION=""
  14. - node_js: "5"
  15. env: NPM_VERSION="@5"
  16. - node_js: "4"
  17. env: NPM_VERSION="@5"
  18. # Allow Travis tests to run in containers.
  19. sudo: false
  20. # Update package-lock.json after test runs:
  21. before_install:
  22. - npm install -g npm$NPM_VERSION
  23. - npm install -g greenkeeper-lockfile@1
  24. before_script: greenkeeper-lockfile-update
  25. after_script: greenkeeper-lockfile-upload