Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config.yml 2.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. # Javascript Node CircleCI 2.0 configuration file
  2. #
  3. # Check https://circleci.com/docs/2.0/language-javascript/ for more details
  4. #
  5. version: 2
  6. jobs:
  7. install-test-linux:
  8. docker:
  9. # specify the version you desire here
  10. - image: circleci/node:10
  11. # Specify service dependencies here if necessary
  12. # CircleCI maintains a library of pre-built images
  13. # documented at https://circleci.com/docs/2.0/circleci-images/
  14. # - image: circleci/mongo:3.4.4
  15. working_directory: ~/repo
  16. steps:
  17. - checkout
  18. # Download and cache dependencies
  19. - restore_cache:
  20. keys:
  21. - v1-dependencies-{{ checksum "package.json" }}
  22. # fallback to using the latest cache if no exact match is found
  23. - v1-dependencies-
  24. - run: npm install
  25. - save_cache:
  26. paths:
  27. - node_modules
  28. key: v1-dependencies-{{ checksum "package.json" }}
  29. # run tests!
  30. - run: node --version
  31. - run: npm --version
  32. - run: npm test
  33. install-test-osx:
  34. macos:
  35. xcode: "10.0"
  36. steps:
  37. - checkout
  38. # Download and cache dependencies
  39. - restore_cache:
  40. keys:
  41. - v1-mac-dependencies-{{ checksum "package.json" }}
  42. # fallback to using the latest cache if no exact match is found
  43. - v1-mac-dependencies-
  44. # Lock into Node.js version
  45. - run:
  46. name: Install Node.js
  47. command: |
  48. curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
  49. export NVM_DIR="$HOME/.nvm"
  50. [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
  51. nvm install v10.19.0
  52. nvm alias default v10.19.0
  53. echo 'export NVM_DIR=${HOME}/.nvm' >> $BASH_ENV
  54. echo "[ -s '${NVM_DIR}/nvm.sh' ] && . '${NVM_DIR}/nvm.sh'" >> $BASH_ENV
  55. - run: node --version
  56. - run: npm --version
  57. - run: npm install
  58. - save_cache:
  59. paths:
  60. - node_modules
  61. key: v1-mac-dependencies-{{ checksum "package.json" }}
  62. # run tests!
  63. - run: npm test
  64. workflows:
  65. version: 2
  66. test-linux:
  67. jobs:
  68. - install-test-linux
  69. test-osx:
  70. jobs:
  71. - install-test-osx