.travis.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. sudo: true
  2. language: generic
  3. matrix:
  4. include:
  5. - os: linux
  6. sudo: required
  7. env:
  8. - TARGET="lint"
  9. before_script:
  10. - pip install ufolint
  11. - sudo apt-get -qq update
  12. - sudo apt-get install -y shellcheck
  13. script:
  14. - make -j $TARGET
  15. - os: linux
  16. sudo: required
  17. env:
  18. - TARGET="build-with-dependencies"
  19. before_script:
  20. - pip install ufolint
  21. - sudo apt-get -qq update
  22. - sudo apt-get install -y shellcheck
  23. script:
  24. - make -j $TARGET
  25. - os: osx
  26. env:
  27. - TARGET="lint"
  28. before_install:
  29. - brew update
  30. - brew install python3
  31. - virtualenv env -p python3
  32. - source env/bin/activate
  33. before_script:
  34. - pip install ufolint
  35. - brew install shellcheck
  36. script:
  37. - make -j $TARGET
  38. - os: osx
  39. env:
  40. - TARGET="build-with-dependencies"
  41. before_install:
  42. - brew update
  43. - brew install python3
  44. - virtualenv env -p python3
  45. - source env/bin/activate
  46. script:
  47. - make -j $TARGET
  48. notifications:
  49. email: false