exiv2/ci/run.sh
Luis Díaz Más e440e40f32 ci: run make with VERBOSE=1
This helps to identify compilation/linking issues
2018-05-22 22:53:18 +02:00

27 lines
513 B
Bash
Executable File

#!/bin/bash
set -e
set -x
if [[ "$(uname -s)" == 'Linux' ]]; then
source conan/bin/activate
else
export PYENV_VERSION=$PYTHON
export PATH="/Users/travis/.pyenv/shims:${PATH}"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
pyenv activate conan
fi
mkdir build && cd build
conan install .. --build missing --profile release
cmake ${CMAKE_OPTIONS} -DCMAKE_INSTALL_PREFIX=install ..
make -j2 VERBOSE=1
make tests
make install
cd bin
./unit_tests
cd ../../tests/
python3 runner.py