Problem: travis job uses custom build path

Solution: remove it, dependencies are in the standard path
This commit is contained in:
Luca Boccassi 2017-09-15 15:37:56 +01:00
parent 6d57807dd0
commit 90586290a7

View File

@ -19,13 +19,7 @@ addons:
env: env:
global: global:
- BUILD_PREFIX=$PWD/tmp - DISTCHECK_CONFIGURE_FLAGS="--with-libsodium"
- CFLAGS=-I${BUILD_PREFIX}/include
- CPPFLAGS=-I${BUILD_PREFIX}/include
- CXXFLAGS=-I${BUILD_PREFIX}/include
- LDFLAGS=-L${BUILD_PREFIX}/lib
- PKG_CONFIG_PATH=${BUILD_PREFIX}/lib/pkgconfig
- DISTCHECK_CONFIGURE_FLAGS="--with-libsodium --prefix=${BUILD_PREFIX}"
before_install: before_install:
- if [ $TRAVIS_OS_NAME == "osx" ] ; then brew install libsodium ; fi - if [ $TRAVIS_OS_NAME == "osx" ] ; then brew install libsodium ; fi
@ -37,7 +31,7 @@ before_install:
# Build and check this project # Build and check this project
script: script:
- ./autogen.sh && ./configure --with-libsodium --prefix=${BUILD_PREFIX} && make distcheck - ./autogen.sh && ./configure --with-libsodium && make distcheck
# Deploy tags # Deploy tags
before_deploy: before_deploy: