travis-ci bits: try to avoid failure-flagging on transient connectivity issues
Attempt to test whether Lua fetch succeeded (and pdcurses for windows and msdos as well) If those prerequisite fetches and untars didn't work, just exit without marking the travis-ci build as a failure so that the development team isn't notified about something transient that they don't need to fix in the code.
This commit is contained in:
+64
-27
@@ -1,21 +1,37 @@
|
||||
language: c
|
||||
matrix:
|
||||
include:
|
||||
- os: linux
|
||||
env: DESCR=linux-xenial-gcc HINTS=linux
|
||||
- name: linux-xenial-gcc
|
||||
os: linux
|
||||
env: HINTS=linux LUA_VERSION=5.3.5
|
||||
compiler: gcc
|
||||
script: "cd sys/unix/ && sh setup.sh hints/$HINTS && cd ../../ && make fetch-lua && make install"
|
||||
- os: linux
|
||||
env: DESCR=linux-bionic-gcc HINTS=linux
|
||||
script:
|
||||
- cd sys/unix/ && sh setup.sh hints/$HINTS && cd ../../
|
||||
- make fetch-lua
|
||||
- test -d "lib/lua-$LUA_VERSION/src" || exit 0
|
||||
- make install
|
||||
- name: linux-bionic-gcc
|
||||
os: linux
|
||||
env: HINTS=linux LUA_VERSION=5.3.5
|
||||
dist: bionic
|
||||
compiler: gcc
|
||||
script: "cd sys/unix/ && sh setup.sh hints/$HINTS && cd ../../ && make fetch-lua && make install"
|
||||
- os: linux
|
||||
env: DESCR=linux-xenial-clang HINTS=linux
|
||||
script:
|
||||
- cd sys/unix/ && sh setup.sh hints/$HINTS && cd ../../
|
||||
- make fetch-lua
|
||||
- test -d "lib/lua-$LUA_VERSION/src" || exit 0
|
||||
- make install
|
||||
- name: linux-xenial-clang
|
||||
os: linux
|
||||
env: HINTS=linux LUA_VERSION=5.3.5
|
||||
compiler: clang
|
||||
script: "cd sys/unix/ && sh setup.sh hints/$HINTS && cd ../../ && make fetch-lua && make install"
|
||||
- os: linux
|
||||
env: DESCR=linux-xenial-gcc-x11 HINTS=linux-x11
|
||||
script:
|
||||
- cd sys/unix/ && sh setup.sh hints/$HINTS && cd ../../
|
||||
- make fetch-lua
|
||||
- test -d "lib/lua-$LUA_VERSION/src" || exit 0
|
||||
- make install
|
||||
- name: linux-xenial-gcc-x11
|
||||
os: linux
|
||||
env: HINTS=linux-x11 LUA_VERSION=5.3.5
|
||||
compiler: gcc
|
||||
addons:
|
||||
apt:
|
||||
@@ -23,9 +39,14 @@ matrix:
|
||||
- libx11-dev
|
||||
- libxaw7-dev
|
||||
- xfonts-utils
|
||||
script: "cd sys/unix/ && sh setup.sh hints/$HINTS && cd ../../ && make fetch-lua && make install"
|
||||
- os: linux
|
||||
env: DESCR=linux-xenial-gcc-qt5 HINTS=linux-qt5
|
||||
script:
|
||||
- cd sys/unix/ && sh setup.sh hints/$HINTS && cd ../../
|
||||
- make fetch-lua
|
||||
- test -d "lib/lua-$LUA_VERSION/src" || exit 0
|
||||
- make install
|
||||
- name: linux-xenial-gcc-qt5
|
||||
os: linux
|
||||
env: HINTS=linux-qt5 LUA_VERSION=5.3.5
|
||||
compiler: gcc
|
||||
addons:
|
||||
apt:
|
||||
@@ -36,9 +57,14 @@ matrix:
|
||||
- qtbase5-dev
|
||||
- qtmultimedia5-dev
|
||||
- qtbase5-dev-tools
|
||||
script: "cd sys/unix/ && sh setup.sh hints/$HINTS && cd ../../ && make fetch-lua && make QT_SELECT=5 MOC=moc install"
|
||||
- os: linux
|
||||
env: DESCR=linux-bionic-gcc-x11 HINTS=linux-x11
|
||||
script:
|
||||
- cd sys/unix/ && sh setup.sh hints/$HINTS && cd ../../
|
||||
- make fetch-lua
|
||||
- test -d "lib/lua-$LUA_VERSION/src" || exit 0
|
||||
- make QT_SELECT=5 MOC=moc install
|
||||
- name: linux-bionic-gcc-x11
|
||||
os: linux
|
||||
env: HINTS=linux-x11 LUA_VERSION=5.3.5
|
||||
dist: bionic
|
||||
compiler: gcc
|
||||
addons:
|
||||
@@ -47,9 +73,14 @@ matrix:
|
||||
- libx11-dev
|
||||
- libxaw7-dev
|
||||
- xfonts-utils
|
||||
script: "cd sys/unix/ && sh setup.sh hints/$HINTS && cd ../../ && make fetch-lua && make install"
|
||||
- os: linux
|
||||
env: DESCR=linux-xenial-gcc-minimal HINTS=linux-minimal
|
||||
script:
|
||||
- cd sys/unix/ && sh setup.sh hints/$HINTS && cd ../../
|
||||
- make fetch-lua
|
||||
- test -d "lib/lua-$LUA_VERSION/src" || exit 0
|
||||
- make install
|
||||
- name: linux-xenial-gcc-minimal
|
||||
os: linux
|
||||
env: HINTS=linux-minimal LUA_VERSION=5.3.5
|
||||
compiler: gcc
|
||||
script: |
|
||||
cd sys/unix/ && sh setup.sh hints/$HINTS && cd ../../
|
||||
@@ -72,31 +103,37 @@ matrix:
|
||||
sed -i '/^#define SHELL/d' include/unixconf.h
|
||||
sed -i '/^#define SUSPEND/d' include/unixconf.h
|
||||
sed -i 's/^#define TEXTCOLOR//' include/unixconf.h
|
||||
make fetch-lua && make install
|
||||
make fetch-lua
|
||||
test -d "lib/lua-$LUA_VERSION/src" || exit 0
|
||||
make install
|
||||
cat dat/options
|
||||
- os: windows
|
||||
env: DESCR=windows-visualstudio
|
||||
- name: windows-visualstudio
|
||||
os: windows
|
||||
language: shell
|
||||
script:
|
||||
- ./win/win32/vs2017/travisci.sh
|
||||
- os: windows
|
||||
- name: windows-mingw
|
||||
os: windows
|
||||
# install: choco install mingw
|
||||
env: DESCR=windows-mingw
|
||||
script:
|
||||
- sh sys/winnt/travis-gcc.sh
|
||||
- test -d "lib/lua-$LUA_VERSION/src" || exit 0
|
||||
- test -d "lib/pdcurses" || exit 0
|
||||
- export ADD_CURSES=Y
|
||||
- export PDCURSES_TOP=../lib/pdcurses
|
||||
- export LUA_VERSION=5.3.5
|
||||
- cd src
|
||||
- cp ../sys/winnt/Makefile.gcc ./Makefile
|
||||
- mingw32-make install
|
||||
- os: linux
|
||||
env: DESCR=msdos-cross-on-linux HINTS=linux LUA_VERSION=5.3.5
|
||||
- name: msdos crosscompile on linux
|
||||
os: linux
|
||||
env: HINTS=linux LUA_VERSION=5.3.5
|
||||
compiler: gcc
|
||||
script:
|
||||
# - export
|
||||
- cd sys/unix/ && sh setup.sh hints/$HINTS && cd ../../
|
||||
- make fetch-lua
|
||||
- test -d "lib/lua-$LUA_VERSION/src" || exit 0
|
||||
- cd lib/lua-$LUA_VERSION/src && make a && cd ../../..
|
||||
- sh sys/msdos/msdos-cross-compile.sh
|
||||
exclude:
|
||||
|
||||
Reference in New Issue
Block a user