Make travis script install to /usr/local
This is the correct place for software not installed by the system's package manager.
This commit is contained in:
parent
675b9b0df9
commit
81d5cc0157
|
@ -5,7 +5,7 @@ install:
|
|||
- wget -O libgit2-0.22.1.tar.gz https://github.com/libgit2/libgit2/archive/v0.22.1.tar.gz
|
||||
- tar -xzvf libgit2-0.22.1.tar.gz
|
||||
- cd libgit2-0.22.1 && mkdir build && cd build
|
||||
- cmake -DTHREADSAFE=ON -DBUILD_CLAR=OFF -DCMAKE_C_FLAGS=-fPIC -DCMAKE_BUILD_TYPE="RelWithDebInfo" -DCMAKE_INSTALL_PREFIX=/usr .. && make && sudo make install
|
||||
- cmake -DTHREADSAFE=ON -DBUILD_CLAR=OFF -DCMAKE_C_FLAGS=-fPIC -DCMAKE_BUILD_TYPE="RelWithDebInfo" -DCMAKE_INSTALL_PREFIX=/usr/local .. && make && sudo make install
|
||||
- cd "${TRAVIS_BUILD_DIR}"
|
||||
|
||||
go:
|
||||
|
|
Loading…
Reference in New Issue