Permalink
Browse files

travis.yml: add make install checks

  • Loading branch information...
1 parent 8d3d2c6 commit c366941fe1105a094c6ece2d47e5a248c8f8fac7 @austin987 austin987 committed Jan 18, 2017
Showing with 5 additions and 0 deletions.
  1. +5 −0 .travis.yml
View
@@ -44,3 +44,8 @@ before_install:
# shell-checks is quick and works, no display or compiles needed
script: time sh ./tests/shell-checks
+
+# OS X doesn't allow writing to /usr/bin, skip non-PREFIX make install test there
+install:
+ - if [[ "$TRAVIS_OS_NAME" != "osx" ]] ; then time sudo make install ; fi
+ - time make install PREFIX="$(mktemp -d)"

0 comments on commit c366941

Please sign in to comment.