ci: Switch from Travis to AppVeyor

Since June 15th, 2021, the building on travis-ci.org is ceased. Hence switch
to AppVeyor.
This commit is contained in:
Bart Van Assche
2021-07-16 20:52:09 -07:00
parent c49461e4b7
commit b446ab3188
3 changed files with 32 additions and 26 deletions

15
.appveyor.yml Normal file
View File

@@ -0,0 +1,15 @@
image:
- Ubuntu
- Ubuntu1604
- Ubuntu2004
- macos
- macos-mojave
# - Visual Studio 2019
clone_depth: 5
install:
- sh: 'ci/install.sh'
build_script:
- sh: 'ci/build.sh'

View File

@@ -1,26 +0,0 @@
language: c
os:
- linux
- osx
dist: focal # 20.04
arch:
- amd64
- ppc64le
addons:
apt:
packages:
- dpkg
- gcc
- libcunit1-dev
- libibverbs-dev
- librdmacm-dev
- make
- pkg-config
- xsltproc
script:
ci/build.sh

17
ci/install.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
case "$(uname)" in
Linux)
packages=(
libcunit1-dev
libgcrypt20-dev
librdmacm-dev
xsltproc
)
for p in "${packages[@]}"; do
sudo sh -c "apt-get install -y $p"
done
;;
Darwin)
;;
esac