From 168ba937c15fd8392172c3039837e9faf04a95e2 Mon Sep 17 00:00:00 2001 From: Ailin Nemui Date: Wed, 6 Jan 2021 22:23:23 +0100 Subject: [PATCH] remove travis --- .github/workflows/check.yml | 6 +++- .travis.yml | 65 ------------------------------------- README.md | 2 +- 3 files changed, 6 insertions(+), 67 deletions(-) delete mode 100644 .travis.yml diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 64e5442f..55499ce3 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -1,4 +1,8 @@ -on: [pull_request] +on: + push: + branches: + - master + pull_request: name: Check Irssi env: apt_build_deps: libutf8proc-dev libperl-dev libotr5-dev diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 896048d6..00000000 --- a/.travis.yml +++ /dev/null @@ -1,65 +0,0 @@ -sudo: false -dist: xenial -language: perl -perl: - # ~stretch - - "5.24-shrplib" - - "system-perl" -env: - - CC=clang UNITTESTS=false - - CC=gcc UNITTESTS=false - - CC=clang UNITTESTS=true -matrix: - exclude: - - env: CC=clang UNITTESTS=true - perl: "system-perl" - allow_failures: - - env: CC=clang UNITTESTS=true - -addons: - apt: - packages: - - libperl-dev - - elinks - - libgcrypt11-dev - - libotr5-dev - -before_install: - - perl -V - - pushd ~ - - curl -sSLf https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja-linux.zip | funzip > bin/ninja - - chmod +x bin/ninja - - curl -sSLf https://github.com/mesonbuild/meson/releases/download/0.51.1/meson-0.51.1.tar.gz | tar xz - - ( cd bin ; ln -s ../meson-*/meson.py meson ) - - curl -sSLf https://github.com/irssi-import/glib-travis-build/releases/download/2.58.3/travis-xenial-glib-2.58.3.tar.xz | tar xJ - - export PKG_CONFIG_PATH=$HOME/glib-build/lib/x86_64-linux-gnu/pkgconfig - - export LD_LIBRARY_PATH=$HOME/glib-build/lib/x86_64-linux-gnu - - popd - -install: - - meson Build -Dwith-proxy=yes -Dwith-bot=yes -Dwith-perl=yes -Dwith-otr=yes --prefix=$HOME/irssi-build - - ninja -C Build - - ninja -C Build install - -before_script: - - pushd ~ - - mkdir irssi-test - - echo echo automated irssi launch test > irssi-test/startup; - echo ^set settings_autosave off >> irssi-test/startup; - echo ^set -clear log_close_string >> irssi-test/startup; - echo ^set -clear log_day_changed >> irssi-test/startup; - echo ^set -clear log_open_string >> irssi-test/startup; - echo ^set log_timestamp '* ' >> irssi-test/startup; - echo ^window log on >> irssi-test/startup - - echo load perl >> irssi-test/startup - - echo load proxy >> irssi-test/startup - - echo ^quit >> irssi-test/startup - -script: - - irssi-build/bin/irssi --home irssi-test - - popd - - if $UNITTESTS; then ninja -C Build test; fi - -after_script: - - cat ~/irc.log.* - - find -name testlog.txt -exec sed -i -e '/Inherited environment:.* TRAVIS/d' {} + -exec cat {} + diff --git a/README.md b/README.md index f73b58a0..8b857eeb 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # [Irssi](https://irssi.org/) -[![Build Status](https://travis-ci.org/irssi/irssi.svg?branch=master)](https://travis-ci.org/irssi/irssi) +![Build Status](https://github.com/irssi/irssi/workflows/Check%20Irssi/badge.svg?branch=master) Irssi is a modular chat client that is most commonly known for its text mode user interface, but 80% of the code isn't text mode