assimp/.travis.sh

18 lines
580 B
Bash
Raw Normal View History

function generate()
{
cmake -G "Unix Makefiles" -DASSIMP_NO_EXPORT=$TRAVIS_NO_EXPORT -DBUILD_SHARED_LIBS=$SHARED_BUILD -DASSIMP_COVERALLS=$ENABLE_COVERALLS
}
2015-12-20 19:23:16 +00:00
if [ $ANDROID ]; then
ant -v -Dmy.dir=${TRAVIS_BUILD_DIR} -f ${TRAVIS_BUILD_DIR}/port/jassimp/build.xml ndk-jni
2017-06-07 08:30:40 +00:00
fi
2017-06-07 09:48:00 +00:00
if [ "$TRAVIS_OS_NAME" = "linux" ]; then
generate \
2016-11-10 09:33:07 +00:00
&& make -j4 \
&& sudo make install \
&& sudo ldconfig \
&& (cd test/unit; ../../bin/unit) \
#&& (cd test/regression; chmod 755 run.py; ./run.py ../../bin/assimp; \
# chmod 755 result_checker.py; ./result_checker.py)
fi