.travis.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. - brew install pkg-config || brew reinstall pkg-config
  45. - brew link --force pkg-config
  46. - virtualenv env -p python3
  47. - source env/bin/activate
  48. script:
  49. - make -j $TARGET
  50. notifications:
  51. email: false