38 lines
1.0 KiB
YAML
38 lines
1.0 KiB
YAML
before_install:
|
|
- sudo apt-get install cmake python3
|
|
|
|
env:
|
|
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
|
|
|
|
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
|
|
|
|
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
|
|
- echo "=========================================================="
|
|
- echo "REGRESSION TEST FAILS (results/run_regression_suite_failures.csv)"
|
|
- cat ../results/run_regression_suite_failures.csv
|
|
|