mirror of
https://github.com/troglobit/finit.git
synced 2026-11-03 13:28:27 +00:00
Travis-CI: Attempt to build w/o root privs
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
096a3eff51
commit
d9cc21b3c8
1 file changed
+6
-6
+6
-6
@@ -3,10 +3,10 @@
|
|||||||
language: c
|
language: c
|
||||||
|
|
||||||
# Use docker for quicker builds, it now allows https://docs.travis-ci.com/user/apt/
|
# Use docker for quicker builds, it now allows https://docs.travis-ci.com/user/apt/
|
||||||
#sudo: false
|
sudo: false
|
||||||
|
|
||||||
# Use non-docker builds atm. to install libuEv and libite from source
|
# Use non-docker builds atm. to install libuEv and libite from source
|
||||||
sudo: true
|
#sudo: true
|
||||||
|
|
||||||
# Test build with both GCC and Clang (LLVM)
|
# Test build with both GCC and Clang (LLVM)
|
||||||
compiler:
|
compiler:
|
||||||
@@ -37,14 +37,14 @@ install:
|
|||||||
- wget https://github.com/troglobit/libite/releases/download/v1.5.0/libite-1.5.0.tar.xz
|
- wget https://github.com/troglobit/libite/releases/download/v1.5.0/libite-1.5.0.tar.xz
|
||||||
- tar xf libuev-1.4.0.tar.xz
|
- tar xf libuev-1.4.0.tar.xz
|
||||||
- tar xf libite-1.5.0.tar.xz
|
- tar xf libite-1.5.0.tar.xz
|
||||||
- (cd libuev-1.4.0 && ./configure && make && sudo make install)
|
- (cd libuev-1.4.0 && ./configure --prefix= && make && DESTDIR=/tmp make install)
|
||||||
- (cd libite-1.5.0 && ./configure && make && sudo make install)
|
- (cd libite-1.5.0 && ./configure --prefix= && make && DESTDIR=/tmp make install)
|
||||||
- sudo ldconfig
|
# - sudo ldconfig
|
||||||
|
|
||||||
# Custom build script for the time being, no "make test" yet
|
# Custom build script for the time being, no "make test" yet
|
||||||
script:
|
script:
|
||||||
- ./autogen.sh
|
- ./autogen.sh
|
||||||
- ./configure --prefix=
|
- PKG_CONFIG_PATH=/tmp/lib/pkgconfig ./configure --prefix=
|
||||||
- make clean
|
- make clean
|
||||||
- make -j5
|
- make -j5
|
||||||
- DESTDIR=/tmp make install-strip
|
- DESTDIR=/tmp make install-strip
|
||||||
|
|||||||
Reference in new issue
Block a user