travis: Simplify directory "shuffling"

This commit is contained in:
Priit Laes
2021-03-15 20:32:57 +02:00
committed by Thomas Krijnen
parent 4f9991fb13
commit d95977a784
+4 -5
View File
@@ -29,9 +29,7 @@ before_script:
script: script:
- pwd - pwd
- cd cmake - mkdir build && cd build
- mkdir build
- cd build
- | - |
cmake \ cmake \
-DCMAKE_C_COMPILER_LAUNCHER=ccache \ -DCMAKE_C_COMPILER_LAUNCHER=ccache \
@@ -45,10 +43,11 @@ script:
-DLIBXML2_LIBRARIES="/usr/lib/x86_64-linux-gnu/libxml2.so;/lib/x86_64-linux-gnu/libz.so.1;/lib/x86_64-linux-gnu/liblzma.so.5;/usr/lib/x86_64-linux-gnu/libicuuc.so.60;/usr/lib/x86_64-linux-gnu/libicudata.so.60" \ -DLIBXML2_LIBRARIES="/usr/lib/x86_64-linux-gnu/libxml2.so;/lib/x86_64-linux-gnu/libz.so.1;/lib/x86_64-linux-gnu/liblzma.so.5;/usr/lib/x86_64-linux-gnu/libicuuc.so.60;/usr/lib/x86_64-linux-gnu/libicudata.so.60" \
-DGLTF_SUPPORT=On \ -DGLTF_SUPPORT=On \
-DJSON_INCLUDE_DIR=/usr/include/json \ -DJSON_INCLUDE_DIR=/usr/include/json \
.. ../cmake
- sudo make -j$(nproc) install - sudo make -j$(nproc) install
- cd ../../test - cd ../test
- /usr/bin/python2.7 tests.py - /usr/bin/python2.7 tests.py
- cd input - cd input