3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-21 11:53:41 +01:00

[travis] Automatically choose same triqs branch

This commit is contained in:
Nils Wentzell 2018-05-28 09:41:42 -04:00
parent 4a75e3fdc8
commit 45031b3bfe

View File

@ -30,7 +30,7 @@ script:
- cd $TRAVIS_BUILD_DIR - cd $TRAVIS_BUILD_DIR
- source root_install/share/cpp2pyvars.sh - source root_install/share/cpp2pyvars.sh
# ===== Set up TRIQS # ===== Set up TRIQS
- git clone https://github.com/TRIQS/triqs - git clone https://github.com/TRIQS/triqs --branch $TRAVIS_BRANCH
- mkdir triqs/build && cd triqs/build - mkdir triqs/build && cd triqs/build
- cmake .. -DCMAKE_CXX_COMPILER=/usr/bin/${CXX} -DBuild_Tests=OFF -DCMAKE_INSTALL_PREFIX=$TRAVIS_BUILD_DIR/root_install -DCMAKE_BUILD_TYPE=Debug - cmake .. -DCMAKE_CXX_COMPILER=/usr/bin/${CXX} -DBuild_Tests=OFF -DCMAKE_INSTALL_PREFIX=$TRAVIS_BUILD_DIR/root_install -DCMAKE_BUILD_TYPE=Debug
- make -j8 install - make -j8 install