.travis.yml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. dist: trusty
  2. language: node_js
  3. node_js:
  4. - '8'
  5. addons:
  6. firefox: latest
  7. chrome: stable
  8. cache:
  9. directories:
  10. - node_modules
  11. before_install:
  12. - export DISPLAY=:99.0
  13. - sh -e /etc/init.d/xvfb start
  14. - npm install -g greenkeeper-lockfile@1
  15. - npm config set //registry.npmjs.org/:_authToken=$NPM_TOKEN
  16. before_script:
  17. - greenkeeper-lockfile-update
  18. - sudo chown root /opt/google/chrome/chrome-sandbox
  19. - sudo chmod 4755 /opt/google/chrome/chrome-sandbox
  20. after_script:
  21. - greenkeeper-lockfile-upload
  22. before_deploy:
  23. - tar -tf $(npm pack)
  24. install:
  25. - npm install
  26. script:
  27. - npm test
  28. - npm run build
  29. - npm run coverage
  30. env:
  31. secure: mkyiKGXQ8wkx4kSi/x7kProXE76E2Ix5xP+xHAcTpMhsFJYsyFE8LR8wC7UWxg80nbww6P1mWpJkMPm2QnWW8OSuKh9pF2bluTU7VAf68JHROA55FZauO0NgLWxF1tog/RLaTXBzoqXBx5+Zlcp2jl4UdsDSIr/1TogSEC7hV3dMiqzTsiC09RnAgtGsUfzDjCGVgyz2yDBMCoi+kfzJiRz7f1dW5GxhUypuV4jjEXTt1V6XrIA0C/uD27LP+kswHadMT6HURPiWEJteKNFz6hnfXttF1XmTwW++kzahDoap607oLszz+g8ss/9F0ILyO3tffyKnoEOImJLogvLUm3slxfHvh9PYh7x8oyPHFtfs7QAJ5Q2Cr23VvwJNslkuNCphEsQJS/HQ70VuSF6MlGrhbsLGp8kEFZrXADqojkGQ/duPk3QykiXUaUxr0uPEllptOLh5TTKYarRM/IVv4kE5iC4egJXouKxwwL5LIglnyCTycEdTLv/IUfYap8ABqi20eBm+AJGk44Z72fl+G/xoPrzbtVosQfPbuLurVJHHDDExHM3bFqfUNnB9xIEwWTihSc6ycI7IhuMQlg1G1t5rRY5YyVQN/4oP4k6qNgYbJs9PrxfyMw7Z+dSg/L2SyJbc/ReNiFkvpTNDYGY/dULvx1uGM1NGdmC+z+nljfk=
  32. deploy:
  33. provider: npm
  34. skip_cleanup: true
  35. email: webapps.ops@ni.com
  36. api_key:
  37. secure: kJyDLyReYLVr01TidziatIzTk1GpTvGLQo7XLAQReDemRkN13905TaYPsrl5IMnkLfk6RaizbCscx7z1MGi3P/U+2DC10OE4pbnUVrcCZLX9RPqLmVgVWxX+pPH+Mu3Td/Ay7CYeNdo031Lufxbc+m0kGlVnMyPBwctU36ES+OI=
  38. on:
  39. tags: true
  40. repo: flot/flot