diff --git a/.ci/build-freetype.sh b/.ci/build-freetype.sh deleted file mode 100644 index 0f09f92e9f4..00000000000 --- a/.ci/build-freetype.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -set -x -set -o errexit -o nounset - -# 22.0.16 is the libtool version of 2.9.0 -if pkg-config --atleast-version 22.0.16 freetype2; then exit; fi - -pushd $HOME -wget http://download.savannah.gnu.org/releases/freetype/freetype-2.9.tar.bz2 -tar xf freetype-2.9.tar.bz2 -pushd freetype-2.9 -./autogen.sh -./configure --prefix=$HOME/.local -make -j4 install -popd -popd diff --git a/.ci/fail.sh b/.ci/fail.sh deleted file mode 100755 index 4e0069e3f8a..00000000000 --- a/.ci/fail.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -for f in $(find . -name '*.log' -not -name 'config.log'); do - last=$(tail -1 $f) - if [[ $last = FAIL* ]]; then - echo '====' $f '====' - cat $f - elif [[ $last = PASS* ]]; then - # Do nothing. - true - else - # Travis Linux images has an old automake that does not match the - # patterns above, so in case of doubt just print the file. - cat $f - fi -done - -exit 1 diff --git a/.ci/run-coveralls.sh b/.ci/run-coveralls.sh deleted file mode 100755 index 8d1ceb5e25a..00000000000 --- a/.ci/run-coveralls.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -set -x -set -o errexit -o nounset - -if test x"$TRAVIS_REPO_SLUG" != x"harfbuzz/harfbuzz"; then exit; fi - -pip install --user nose -pip install --user cpp-coveralls -export PATH=$HOME/.local/bin:$PATH - -rm -f src/.libs/NONE.gcov -touch src/NONE -coveralls -e docs diff --git a/.circleci/config.yml b/.circleci/config.yml index bbbcb23529b..56ea08263ee 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -56,7 +56,7 @@ jobs: - run: pip3 install fonttools meson --upgrade - run: ./autogen.sh - run: make -j32 - - run: make distcheck || .ci/fail.sh + - run: make distcheck - run: rm harfbuzz-* && make distdir - run: cd harfbuzz-* && meson build && ninja -Cbuild test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 4f989b2e4d6..00000000000 --- a/.travis.yml +++ /dev/null @@ -1,43 +0,0 @@ -# Build Configuration for Travis -dist: trusty - -language: cpp - -matrix: - include: - - os: linux - compiler: gcc - script: - # Remove the following three lines when Travis updates its distro - - export PKG_CONFIG_PATH="$HOME/.local/lib/pkgconfig" - - export LD_LIBRARY_PATH="$HOME/.local/lib" - - bash .ci/build-freetype.sh - - - ./autogen.sh NOCONFIGURE=1 - - ./configure $CONFIGURE_OPTS --enable-gtk-doc --enable-code-coverage --with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2 - - make - - make check || .ci/fail.sh - - rm -rf freetype-2.9 - after_success: - - bash .ci/run-coveralls.sh # coveralls.io code coverage - -notifications: - email: harfbuzz-bots-chatter@googlegroups.com - -cache: - directories: - - /home/travis/.local - -addons: - apt: - packages: - - pkg-config # for autogen.sh - - ragel - - lcov - - gtk-doc-tools - - libfreetype6-dev # for font function - - libglib2.0-dev # for font functions / tests / utils - - libcairo2-dev # for utils - - libicu-dev # for extra unicode functions - - libgraphite2-dev # for extra shapers - #- libgirepository1.0-dev # for gobject-introspection diff --git a/README.md b/README.md index 554178f9e19..0df556de37f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Travis Build Status](https://travis-ci.org/harfbuzz/harfbuzz.svg?branch=master)](https://travis-ci.org/harfbuzz/harfbuzz) +[![Linux CI Status](https://github.com/harfbuzz/harfbuzz/workflows/linux-ci/badge.svg)](https://github.com/harfbuzz/harfbuzz/workflows/linux-ci/badge.svg) [![CircleCI Build Status](https://circleci.com/gh/harfbuzz/harfbuzz/tree/master.svg?style=svg)](https://circleci.com/gh/harfbuzz/harfbuzz/tree/master) [![OSS-Fuzz Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/harfbuzz.svg)](https://oss-fuzz-build-logs.storage.googleapis.com/index.html) [![Coverity Code Health](https://img.shields.io/coverity/scan/5450.svg)](https://scan.coverity.com/projects/behdad-harfbuzz)