assimp/.travis.yml

47 lines
1.6 KiB
YAML
Raw Normal View History

before_install:
- sudo apt-get install cmake python3
- echo -e "#ifndef A_R_H_INC\n#define A_R_H_INC\n#define GitVersion ${TRAVIS_JOB_ID}\n#define GitBranch \"${TRAVIS_BRANCH}\"\n#endif // A_R_H_INC" > revision.h
branches:
only:
- master
env:
2015-03-20 20:05:25 +00:00
global:
- PV=r8e PLATF=linux-x86_64 NDK_HOME=${TRAVIS_BUILD_DIR}/android-ndk-${PV} PATH=${PATH}:${NDK_HOME}
matrix:
# - LINUX=1 TRAVIS_NO_EXPORT=YES
# - LINUX=1 TRAVIS_NO_EXPORT=NO
# - LINUX=1 TRAVIS_STATIC_BUILD=ON
# - LINUX=1 TRAVIS_STATIC_BUILD=OFF
# - WINDOWS=1 TRAVIS_NO_EXPORT=YES
# - WINDOWS=1 TRAVIS_NO_EXPORT=NO
# - WINDOWS=1 TRAVIS_STATIC_BUILD=ON
# - WINDOWS=1 TRAVIS_STATIC_BUILD=OFF
2015-03-20 20:05:25 +00:00
- ANDROID=1
language: cpp
compiler:
- gcc
- clang
install:
- if [ $WINDOWS ]; then travis_retry sudo apt-get install -q -y gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 binutils-mingw-w64-x86-64; fi
2015-03-20 20:05:25 +00:00
- if [ $ANDROID ]; then wget -c http://dl.google.com/android/ndk/android-ndk-${PV}-${PLATF}.tar.bz2 && tar xf android-ndk-${PV}-${PLATF}.tar.bz2 ; fi
script:
# - cmake -G "Unix Makefiles" -DASSIMP_ENABLE_BOOST_WORKAROUND=YES -DASSIMP_NO_EXPORT=$TRAVIS_NO_EXPORT -STATIC_BUILD=$TRAVIS_STATIC_BUILD
# - make
# - sudo make install
# - sudo ldconfig
# - cd test/unit
# - ../../bin/unit
# - cd ../regression
# - chmod 755 run.py
# - ./run.py
2014-09-06 07:14:50 +00:00
- echo "=========================================================="
# - echo "REGRESSION TEST FAILS (results/run_regression_suite_failures.csv)"
# - cat ../results/run_regression_suite_failures.csv
- if [ $ANDROID ]; then ant -v -Dmy.dir=${TRAVIS_BUILD_DIR} -f ${TRAVIS_BUILD_DIR}/port/jassimp/build.xml ndk-jni ; fi