Switch to container-based infrastructure
This commit is contained in:
parent
b88a16c98f
commit
8e8e396778
12
.travis.yml
12
.travis.yml
|
@ -1,3 +1,15 @@
|
|||
sudo: false
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- libssl1.0.0
|
||||
- zsh
|
||||
# - tcsh
|
||||
# - mksh
|
||||
# - busybox
|
||||
# - rc
|
||||
# - socat
|
||||
- bc
|
||||
language: python
|
||||
install: tests/install.sh
|
||||
script: tests/test.sh
|
||||
|
|
|
@ -4,9 +4,6 @@ git clone --depth=1 git://github.com/powerline/deps tests/bot-ci/deps
|
|||
|
||||
. tests/bot-ci/scripts/common/main.sh
|
||||
|
||||
sudo apt-get install -qq libssl1.0.0
|
||||
sudo apt-get install -qq zsh tcsh mksh busybox socat realpath bc rc tmux
|
||||
|
||||
mkdir -p "$HOME/opt"
|
||||
|
||||
if test -n "$USE_UCS2_PYTHON" ; then
|
||||
|
@ -54,6 +51,4 @@ for archive in "$ROOT"/tests/bot-ci/deps/vim-plugins/*.tar.gz ; do
|
|||
)
|
||||
done
|
||||
|
||||
# Travis has too outdated fish. It cannot be used for tests.
|
||||
# sudo apt-get install fish
|
||||
true
|
||||
|
|
|
@ -10,6 +10,11 @@ FAILED=0
|
|||
|
||||
if test "$TRAVIS" = true ; then
|
||||
export PATH="$HOME/opt/fish/bin:${PATH}"
|
||||
export PATH="$PWD/tests/bot-ci/deps/rc:$PATH"
|
||||
export PATH="$PWD/tests/bot-ci/deps/mksh:$PATH"
|
||||
export PATH="$PWD/tests/bot-ci/deps/busybox:$PATH"
|
||||
export PATH="$PWD/tests/bot-ci/deps/tcsh:$PATH"
|
||||
export PATH="$PWD/tests/bot-ci/deps/socat:$PATH"
|
||||
|
||||
if test "$PYTHON_IMPLEMENTATION" = "CPython" ; then
|
||||
export PATH="$HOME/opt/zsh-${PYTHON_MM}${USE_UCS2_PYTHON:+-ucs2}/bin:${PATH}"
|
||||
|
|
Loading…
Reference in New Issue