[Travis] Pair up mkdir and cd commands.

This commit is contained in:
Frederik "Freso" S. Olesen
2014-10-27 22:44:06 +01:00
parent 4ca3109cfa
commit d490d6686d
+5 -10
View File
@@ -14,16 +14,14 @@ install:
# Currently inside the cloned repo path.
# Install Alphanum
- cd ../..
- mkdir alphanum
- cd alphanum
- mkdir alphanum && cd alphanum
- wget http://www.davekoelle.com/files/alphanum.hpp
- cd ..
# Install libespm.
- git clone https://github.com/WrinklyNinja/libespm.git libespm
# Build yaml-cpp
- git clone https://github.com/WrinklyNinja/yaml-cpp yaml-cpp
- mkdir yaml-cpp/build
- cd yaml-cpp/build
- mkdir yaml-cpp/build && cd yaml-cpp/build
- cmake ..
- make yaml-cpp
- cd ../../
@@ -31,8 +29,7 @@ install:
- wget https://github.com/libgit2/libgit2/archive/v0.21.1.tar.gz
- tar -xf v0.21.1.tar.gz
- mv libgit2-0.21.1 libgit2
- mkdir libgit2/build
- cd libgit2/build
- mkdir libgit2/build && cd libgit2/build
- cmake ..
- make git2
- cd ../../
@@ -45,16 +42,14 @@ install:
- cd ..
# Build libloadorder
- git clone https://github.com/WrinklyNinja/libloadorder.git libloadorder
- mkdir libloadorder/build
- cd libloadorder/build
- mkdir libloadorder/build && cd libloadorder/build
- cmake .. -DPROJECT_ARCH=64 -DPROJECT_STATIC_RUNTIME=OFF -DGTEST_ROOT=../gtest-1.7.0
- make loadorder64
# Move back into the cloned LOOT repo path.
- cd $TRAVIS_BUILD_DIR
before_script:
- mkdir build
- cd build
- mkdir build && cd build
# Travis machines are 64 bit, and the deps use dynamic linking.
- cmake .. -DPROJECT_ARCH=64 -DPROJECT_STATIC_RUNTIME=OFF -DBUILD_SHARED_LIBS=OFF