shithub: cstory

Download patch

ref: c194ff9dc65e947eb1ec9e458504d462504c8c1e
parent: 2b65c5811aef3c63a3337e45ddc81ba2995f73e2
author: Clownacy <[email protected]>
date: Thu Apr 2 19:21:47 EDT 2020

Revert "Use `cmake -B` in Travis"

This reverts commit 4ec5951bed0988e1208fc7213c7307cf596ee836.

--- a/.travis.yml
+++ b/.travis.yml
@@ -109,10 +109,14 @@
 
 before_script:
     # Make build directory and generate CMake build files
-    - cmake -B ${CMAKE_BUILD_DIR} -DCMAKE_BUILD_TYPE=Release -DFIX_BUGS=ON -DBACKEND_PLATFORM=$PLATFORM -DBACKEND_AUDIO=$AUDIO -DBACKEND_RENDERER=$RENDERER -DCMAKE_C_FLAGS="-Wall -Wextra -pedantic" -DCMAKE_CXX_FLAGS="-Wall -Wextra -pedantic"
+    - mkdir -p ${CMAKE_BUILD_DIR} && cd ${CMAKE_BUILD_DIR}
+    - cmake .. -DCMAKE_BUILD_TYPE=Release -DFIX_BUGS=ON -DBACKEND_PLATFORM=$PLATFORM -DBACKEND_AUDIO=$AUDIO -DBACKEND_RENDERER=$RENDERER -DCMAKE_C_FLAGS="-Wall -Wextra -pedantic" -DCMAKE_CXX_FLAGS="-Wall -Wextra -pedantic"
+    - cd ..
 
 script:
-    - cmake --build ${CMAKE_BUILD_DIR} --config Release --parallel $JOBS
+    - cd ${CMAKE_BUILD_DIR}
+    - cmake --build . --config Release --parallel $JOBS
+    - cd ..
 
 after_success:
     # Send success notification to Discord through DISCORD_WEBHOOK_URL