summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Landscheidt <tim@tim-landscheidt.de>2019-01-20 03:18:15 +0000
committerTim Landscheidt <tim@tim-landscheidt.de>2019-01-22 01:41:15 +0000
commit219869caf7e6bb2b70aef3e0e9a4c52c9fd96539 (patch)
treee4da17d5bf2dbbfd6623ae86cf3bcfa5ffb64536
parent53f4035a2f4a6f33b447ce3658c4dc062058c422 (diff)
downloadfork-ledger-219869caf7e6bb2b70aef3e0e9a4c52c9fd96539.tar.gz
fork-ledger-219869caf7e6bb2b70aef3e0e9a4c52c9fd96539.tar.bz2
fork-ledger-219869caf7e6bb2b70aef3e0e9a4c52c9fd96539.zip
Remove broken and disabled Travis CI configurations
The Travis CI configurations for macOS, Clang on Linux and CheckTexinfo.py and CheckManpage.py are broken and disabled or ignored. They appear to be non-trivial to fix, so the current stub is probably more distracting than helpful while also making changes to the working Linux configuration more difficult.
-rw-r--r--.travis.yml37
-rwxr-xr-xtools/travis-before_install.sh4
-rwxr-xr-xtools/travis-install.sh10
3 files changed, 0 insertions, 51 deletions
diff --git a/.travis.yml b/.travis.yml
index 59ec77b2..5cac92d2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,10 +5,8 @@
language: cpp
compiler:
- gcc
- - clang
os:
- linux
- - osx
sudo: false
cache:
apt: true
@@ -22,35 +20,9 @@ env:
- BOOST_VERSION_MAX="1.61.0"
# List of required boost libraries to build
- BOOST_LIBS="date_time,filesystem,iostreams,python,regex,system,test"
- # List of required Homebrew formulae to install
- - BREWS="gmp,mpfr"
# Encrypted COVERITY_SCAN_TOKEN
- secure: "mYNxD1B8WNSvUeKzInehZ7syi2g1jH2ymeSQxoeKKD2duq3pvNWPdZdc4o9MlWQcAqcz58rhFZRIpuEWCnP0LbbJaG+MyuemMn9uAmg9Y4gFpMsBPHuTdf8pO3rDex+tkrr9puEJFgL+QV/TehxO6NDDpx7UdYvJb+4aZD/auYI="
-matrix:
- exclude:
- - os: linux
- compiler: clang
- # Compiling ledger on Linux with clang
- # either crashes clang or results in a ledger binary that crashes with SIGSEGV.
- - os: osx
- compiler: gcc
- # On macOS building ledger with GNU GCC 4.8 fails due to
- # undefined symbols, maybe because boost was not being built with g++-4.8.
- # Undefined symbols for architecture x86_64:
- # "boost::re_detail::perl_matcher<char const*, std::allocator<boost::sub_match<char const*> >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::construct_init(boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags)", referenced from:
- # boost::re_detail::perl_matcher<char const*, std::allocator<boost::sub_match<char const*> >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::perl_matcher(char const*, char const*, boost::match_results<char const*, std::allocator<boost::sub_match<char const*> > >&, boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags, char const*) in main.cc.o
- # boost::re_detail::perl_matcher<char const*, std::allocator<boost::sub_match<char const*> >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::perl_matcher(char const*, char const*, boost::match_results<char const*, std::allocator<boost::sub_match<char const*> > >&, boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags, char const*) in global.cc.o
- # "boost::re_detail::perl_matcher<char const*, std::allocator<boost::sub_match<char const*> >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::find()", referenced from:
- # bool boost::regex_search<char const*, char, boost::regex_traits<char, boost::cpp_regex_traits<char> > >(char const*, char const*, boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags) in main.cc.o
- # bool boost::regex_search<char const*, char, boost::regex_traits<char, boost::cpp_regex_traits<char> > >(char const*, char const*, boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags) in global.cc.o
- - os: osx
- compiler: clang
- # On macOS building ledger with clang fails due to
- # dyld: Library not loaded: libboost_python.dylib
- # Referenced from: /Users/travis/build/ledger/ledger/ledger
- # Reason: image not found
-
addons:
coverity_scan:
project:
@@ -80,9 +52,6 @@ before_install:
# - if [ "${TRAVIS_BRANCH}" = "master" ]; then export BOOST_VERSION="${BOOST_VERSION_MIN}"; else export BOOST_VERSION="${BOOST_VERSION_MAX}"; fi
- export BOOST_VERSION="${BOOST_VERSION_MAX}"
- if [ -n "${BOOST_VERSION}" ]; then export BOOST_ROOT="${TRAVIS_BUILD_DIR}/../boost-trunk"; export CMAKE_MODULE_PATH="${BOOST_ROOT}"; fi
- - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then export DYLD_LIBRARY_PATH="${BOOST_ROOT}/lib"; fi
- # c++ is a symlink to clang++, but the compiler behaves differently when invoked as c++
- - if [ "${TRAVIS_OS_NAME}" = "osx" -a "${CXX}" = "clang++" ]; then export CXX="$(which c++)"; export CC="$(which cc)"; fi
- tools/travis-before_install.sh
install:
@@ -96,12 +65,6 @@ script:
- ctest --output-on-failure
- PYTHONPATH=. python python/demo.py
-after_script:
- # These scripts are run for informational purposes and
- # should be reintegrated into CTest once they reliably verify the documentation.
- - python test/CheckTexinfo.py -l ledger -s .
- - python test/CheckManpage.py -l ledger -s .
-
notifications:
email:
on_success: change
diff --git a/tools/travis-before_install.sh b/tools/travis-before_install.sh
index fe010945..365fcab1 100755
--- a/tools/travis-before_install.sh
+++ b/tools/travis-before_install.sh
@@ -4,10 +4,6 @@
set -e
set -o pipefail
-if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
- brew update
-fi
-
if [ -n "${BOOST_VERSION}" ]; then
mkdir -p $BOOST_ROOT
wget --no-verbose --output-document=- \
diff --git a/tools/travis-install.sh b/tools/travis-install.sh
index 4e8bdc48..995f18df 100755
--- a/tools/travis-install.sh
+++ b/tools/travis-install.sh
@@ -4,16 +4,6 @@
set -e
set -o pipefail
-if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
- for formula in $(echo "${BREWS//,/ }"); do
- echo "Checking ${formula} formula"
- brew outdated "${formula}" \
- || (brew unlink "${formula}"
- brew install "${formula}"
- )
- done
-fi
-
if [ -d "${BOOST_ROOT}" ]; then
(cd "${BOOST_ROOT}"
./bootstrap.sh --with-libraries="${BOOST_LIBS}"