Skip to content

Commit

Permalink
Remove make install requirement in CI
Browse files Browse the repository at this point in the history
With doc build fix we can remove the required library install from CI,
which occurred before sphinx doc could be built.

Signed-off-by: Travis F. Collins <[email protected]>
  • Loading branch information
tfcollins committed Jun 8, 2020
1 parent 192fa42 commit 3425601
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
8 changes: 0 additions & 8 deletions CI/travis/make_darwin
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,6 @@ build_osx() {
cd $TRAVIS_BUILD_DIR/build
build_osx "-DOSX_PACKAGE=ON -DPYTHON_BINDINGS=ON -DWITH_EXAMPLES=ON"

# do not do this in the function, it will not install twice.
if [ "$TRAVIS" = "true" ] ; then
echo "### Installing package as root"
sudo make install
echo "### Deleting install_manifest.txt (created as root)"
sudo rm ./install_manifest.txt
fi

cd $TRAVIS_BUILD_DIR/build_tar
build_osx "-DOSX_PACKAGE=OFF -DENABLE_PACKAGING=ON -DPYTHON_BINDINGS=ON"
echo "### make package"
Expand Down
8 changes: 0 additions & 8 deletions CI/travis/make_linux
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,6 @@ handle_default() {

echo "### make"
make
if [ "$TRAVIS" = "true" ] ; then
# make sure the *.so can be found during make package
echo "### Installing package as root"
sudo make install
# get rid of anything that will cause a problem
echo "### Deleting install_manifest.txt (created as root)"
sudo rm ./install_manifest.txt
fi
if command_exists sphinx-build ; then
# to build the python doc, libiio and py-iio need to be installed
# so we need to re-do some minor things now that they are
Expand Down

0 comments on commit 3425601

Please sign in to comment.