mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-13 08:27:26 +00:00
travis: add a CMake build
Uses an out-of-tree build; in-tree builds do not work. No make uninstall test (CMake does not support this).
This commit is contained in:
parent
8875f0ad76
commit
38c4437d79
1 changed files with 18 additions and 0 deletions
18
.travis.yml
18
.travis.yml
|
@ -25,6 +25,24 @@ matrix:
|
||||||
- g++-multilib
|
- g++-multilib
|
||||||
env:
|
env:
|
||||||
- CXXFLAGS="-g -O2 -m32" CFLAGS="-g -m32"
|
- CXXFLAGS="-g -O2 -m32" CFLAGS="-g -m32"
|
||||||
|
- os: linux
|
||||||
|
compiler: clang
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- bc
|
||||||
|
- expect
|
||||||
|
- gettext
|
||||||
|
- libncurses5-dev
|
||||||
|
- cmake
|
||||||
|
env:
|
||||||
|
- USE_CMAKE="1" # Dummy value, shows up in the Travis UI only
|
||||||
|
script:
|
||||||
|
- mkdir build && cd build &&
|
||||||
|
cmake -DCMAKE_INSTALL_PREFIX=$HOME/prefix .. || cat CMakeFiles/CMakeError.log &&
|
||||||
|
make -j2 &&
|
||||||
|
make install &&
|
||||||
|
make test SHOW_INTERACTIVE_LOG=1
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: clang
|
compiler: clang
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in a new issue