mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-27 14:45:13 +08:00
Add 'pip install pexpect' to travis config
In preparation for the new pexpect-based tests, modify the travis config file to install pexpect.
This commit is contained in:
parent
229ead9b8a
commit
218fe15264
21
.travis.yml
21
.travis.yml
@ -13,7 +13,10 @@ matrix:
|
|||||||
- gettext
|
- gettext
|
||||||
- libncurses5-dev
|
- libncurses5-dev
|
||||||
- libpcre2-dev
|
- libpcre2-dev
|
||||||
- python
|
- python3
|
||||||
|
- python3-pip
|
||||||
|
before_install:
|
||||||
|
- sudo pip3 install pexpect
|
||||||
env:
|
env:
|
||||||
# Some warnings upgraded to errors to match Open Build Service platforms
|
# Some warnings upgraded to errors to match Open Build Service platforms
|
||||||
- CXXFLAGS="-Werror=address -Werror=return-type"
|
- CXXFLAGS="-Werror=address -Werror=return-type"
|
||||||
@ -26,7 +29,10 @@ matrix:
|
|||||||
- gettext
|
- gettext
|
||||||
- lib32ncurses5-dev
|
- lib32ncurses5-dev
|
||||||
- g++-multilib
|
- g++-multilib
|
||||||
- python
|
- python3
|
||||||
|
- python3-pip
|
||||||
|
before_install:
|
||||||
|
- sudo pip3 install pexpect
|
||||||
env:
|
env:
|
||||||
- CXXFLAGS="-m32 -Werror=address -Werror=return-type" CFLAGS="-m32"
|
- CXXFLAGS="-m32 -Werror=address -Werror=return-type" CFLAGS="-m32"
|
||||||
- os: linux
|
- os: linux
|
||||||
@ -35,6 +41,8 @@ matrix:
|
|||||||
- CXXFLAGS="-fno-omit-frame-pointer -fsanitize=undefined -fsanitize=address"
|
- CXXFLAGS="-fno-omit-frame-pointer -fsanitize=undefined -fsanitize=address"
|
||||||
- ASAN_OPTIONS=check_initialization_order=1:detect_stack_use_after_return=1:detect_leaks=1
|
- ASAN_OPTIONS=check_initialization_order=1:detect_stack_use_after_return=1:detect_leaks=1
|
||||||
- UBSAN_OPTIONS=print_stacktrace=1:report_error_type=1:suppressions=$TRAVIS_BUILD_DIR/build_tools/ubsan.blacklist
|
- UBSAN_OPTIONS=print_stacktrace=1:report_error_type=1:suppressions=$TRAVIS_BUILD_DIR/build_tools/ubsan.blacklist
|
||||||
|
before_install:
|
||||||
|
- sudo pip3 install pexpect
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
@ -43,10 +51,14 @@ matrix:
|
|||||||
- libncurses5-dev
|
- libncurses5-dev
|
||||||
- libpcre2-dev
|
- libpcre2-dev
|
||||||
- python
|
- python
|
||||||
|
- python3
|
||||||
|
- python3-pip
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: clang
|
compiler: clang
|
||||||
env:
|
env:
|
||||||
- CXXFLAGS="-fsanitize=thread"
|
- CXXFLAGS="-fsanitize=thread"
|
||||||
|
before_install:
|
||||||
|
- sudo pip3 install pexpect
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
@ -54,8 +66,11 @@ matrix:
|
|||||||
- gettext
|
- gettext
|
||||||
- libncurses5-dev
|
- libncurses5-dev
|
||||||
- libpcre2-dev
|
- libpcre2-dev
|
||||||
- python
|
- python3
|
||||||
|
- python3-pip
|
||||||
- os: osx
|
- os: osx
|
||||||
|
before_install:
|
||||||
|
- sudo pip3 install pexpect
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user