diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-10 11:30:27 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-10 16:44:54 +0300 |
commit | cf15b237108360ee92f35898e35fa5a52cfc889a (patch) | |
tree | 9c95f527c25b9c14d14018e156a9fad6b286ded3 /.travis.yml | |
parent | README: update (diff) | |
download | math-server-cf15b237108360ee92f35898e35fa5a52cfc889a.tar.gz math-server-cf15b237108360ee92f35898e35fa5a52cfc889a.zip |
AppVeyor/Travis: switch to cmake/build
Diffstat (limited to '')
-rw-r--r-- | .travis.yml | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index 66ba91c..9ce761a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,13 +4,20 @@ dist: bionic env: global: - - boost_version=1.71.0 + - travis_boost_version=1.71.0 matrix: - - build_type=debug arch=x64 - - build_type=release arch=x64 + - configuration=Debug platform=x64 + - configuration=Release platform=x64 before_script: - - ./.travis/build_boost.sh + - ./cmake/build/boost/build_travis.sh --with-filesystem --with-program_options --with-test script: - - ./.travis/build.sh + - |- + ./cmake/build/build_travis.py \ + --configuration "$configuration" \ + --install "$HOME/install" \ + --boost "$HOME/boost_1_71_0" \ + --boost-librarydir "$HOME/boost_1_71_0/stage/$platform/${configuration,,}/lib" \ + -- -DENABLE_TESTS=ON + - "$HOME/install/bin/unit_tests" |