Skip to content

Commit 33f0dbe

Browse files
committed
CI: Switch to Github Actions
Drop all integration with Travis CI and replace it with Github Actions. Among other things, the Github Actions will run more tests in parallel, so there should be a much shorter turnaround on CI test results. Signed-off-by: Stephen Gallagher <[email protected]>
1 parent 9a660c1 commit 33f0dbe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+214
-229
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ ARG TARBALL
66

77
ADD $TARBALL /builddir/
88

9-
ENTRYPOINT /builddir/.travis/fedora/travis-tasks.sh
9+
ENTRYPOINT /builddir/.ci/archlinux/ci-tasks.sh
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ meson --buildtype=debugoptimized \
1313
-Ddeveloper_build=false \
1414
-Dpython_name=python3 \
1515
-Drpmio=disabled \
16-
travis
16+
ci
1717

18-
ninja -C travis test
18+
ninja -C ci test
1919

2020
popd #builddir
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ MAINTAINER Stephen Gallagher <[email protected]>
55
RUN yum -y install epel-release \
66
ifelse(eval(__RELEASE__ >= 8), 1, `dnl
77
&& yum -y install dnf-plugins-core \
8-
&& yum config-manager --enable PowerTools \
8+
&& yum config-manager --enable powertools \
99
')dnl
1010
&& yum -y --setopt=tsflags='' install \
1111
clang \
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ ARG TARBALL
66

77
ADD $TARBALL /builddir/
88

9-
ENTRYPOINT /builddir/.travis/mageia/travis-tasks.sh
9+
ENTRYPOINT /builddir/.ci/centos/ci-tasks.sh
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ pushd /builddir/
1515
# Build the code under GCC and run standard tests
1616
meson --buildtype=debugoptimized \
1717
$COMMON_MESON_ARGS \
18-
travis
18+
ci
1919

20-
ninja-build -C travis test
20+
ninja-build -C ci test
2121

2222
popd #builddir
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
44
pushd $SCRIPT_DIR
55

6-
source $SCRIPT_DIR/travis-common.inc
6+
source $SCRIPT_DIR/ci-common.inc
77

88
set -e
99
set -x
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,12 @@
33
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
44
pushd $SCRIPT_DIR
55

6-
source $SCRIPT_DIR/travis-common.inc
6+
source $SCRIPT_DIR/ci-common.inc
77

88
set -e
99
set -x
1010

11-
JOB_NAME=${TRAVIS_JOB_NAME:-CentOS 7}
12-
13-
arr=($JOB_NAME)
14-
release=${arr[1]:-7}
11+
release=${1:-7}
1512
repository=docker.io
1613

1714
mmd_run_docker_tests \
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
44
pushd $SCRIPT_DIR
55

6-
source $SCRIPT_DIR/travis-common.inc
6+
source $SCRIPT_DIR/ci-common.inc
77

88
set -e
99
set -x
@@ -19,10 +19,6 @@ mmd_run_docker_tests \
1919
repository=$repository \
2020
test_template="coverity/Dockerfile.tmpl" \
2121
test_image="libmodulemd-coverity" \
22-
oci_extra_args="
23-
-e COVERITY_SCAN_TOKEN=$COVERITY_SCAN_TOKEN
24-
-e TRAVIS=$TRAVIS
25-
-e TRAVIS_COMMIT='$TRAVIS_COMMIT'
26-
"
22+
oci_extra_args="-e COVERITY_SCAN_TOKEN=$COVERITY_SCAN_TOKEN"
2723

2824
popd # $SCRIPT_DIR

0 commit comments

Comments
 (0)