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:
Carlos Martín Nieto 2015-03-15 00:53:02 +01:00
parent 675b9b0df9
commit 81d5cc0157
1 changed files with 1 additions and 1 deletions

View File

@ -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: