removed Travis CI integration

This commit is contained in:
jkriege2 2022-04-21 11:08:29 +02:00
parent 6ef984b5d2
commit c058ae3488
4 changed files with 1 additions and 141 deletions

View File

@ -1,91 +0,0 @@
language: cpp
sudo: false
compiler:
- gcc
- clang
os:
- linux
- osx
dist: focal
osx_image: xcode8.3
matrix:
exclude:
# Disable all automatic entries in the test matrix
- compiler: clang
- compiler: gcc
- os: osx
- os: linux
include:
# Explicitly add tests that we want to run
- env: BUILD_DOXYGEN="yes"
compiler: gcc
os: linux
addons:
apt:
packages:
- doxygen
- doxygen-doc
- doxygen-latex
- doxygen-gui
- graphviz
- clang-9
- libclang-9-dev
- libclang-cpp9
install:
- pwd
- doxygen --version
############################################################################
# All the dependencies are installed in ${TRAVIS_BUILD_DIR}/deps/
############################################################################
- DEPS_DIR="${TRAVIS_BUILD_DIR}/deps"
- mkdir -p ${DEPS_DIR} && cd ${DEPS_DIR}
############################################################################
# Install a recent Doxygen
############################################################################
- DOXYGEN_URL="https://github.com/jkriege2/doxygen_bin_mirror/raw/main/doxygen-1.9.3.linux.bin.tar.gz"
- mkdir doxygen
- travis_retry wget -O - ${DOXYGEN_URL} | tar --strip-components=1 -xz -C doxygen
- export PATH=${DEPS_DIR}/doxygen/bin:${PATH}
- doxygen --version
script:
- pwd
- cd ${TRAVIS_BUILD_DIR}
- cd doc
- doxygen --version
- doxygen Doxyfile
- echo "" > html/.nojekyll
- compiler: clang
os: osx
- compiler: clang
os: linux
addons:
apt:
packages:
- libglu1-mesa-dev
- compiler: gcc
os: linux
addons:
apt:
packages:
- libglu1-mesa-dev
install:
- source ci/install_travis.sh
script:
- ci/test_travis.sh
notifications:
email: false
deploy:
provider: pages
verbose: true
deployment_file: true
skip_cleanup: true
local_dir: doc/html
github_token: $GH_REPO_TOKEN
on:
branch: master
condition: $BUILD_DOXYGEN = yes

View File

@ -10,8 +10,7 @@ This software is licensed under the term of the [GNU Lesser General Public Licen
[![Qt5](https://img.shields.io/badge/Qt-5-brightgreen)](https://doc.qt.io/qt-5/)
[![Documentation](https://img.shields.io/badge/documentation-online-blue)](http://jkriege2.github.io/JKQtPlotter/index.html)
[[![Build status](https://ci.appveyor.com/api/projects/status/vq2o9pfi97isxm2a?svg=true)](https://ci.appveyor.com/project/jkriege2/jkqtplotter)
![CI: Documentation/Linux/MacOX Build](https://img.shields.io/travis/jkriege2/JKQtPlotter/master?label=CI%3A%20Documentation%2FLinux%2FMacOX%20Build)](https://travis-ci.org/jkriege2/JKQtPlotter)
[![Build status](https://ci.appveyor.com/api/projects/status/vq2o9pfi97isxm2a?svg=true)](https://ci.appveyor.com/project/jkriege2/jkqtplotter)
[![Commit Activity](https://img.shields.io/github/commit-activity/m/jkriege2/JKQtPlotter)](https://github.com/jkriege2/JKQtPlotter/pulse)
[![Last Commit](https://img.shields.io/github/last-commit/jkriege2/JKQtPlotter)](https://github.com/jkriege2/JKQtPlotter/pulse)

View File

@ -1,37 +0,0 @@
#!/usr/bin/env bash
# Exit on error
set -e
# Echo each command
set -x
export SOURCE_DIR=`pwd`
export our_install_dir="$HOME/our_usr"
if [[ ! -d $HOME/conda_root/pkgs ]]; then
rm -rf $HOME/conda_root
if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
fi
bash miniconda.sh -b -p $HOME/conda_root
fi
export PATH="$HOME/conda_root/bin:$PATH"
conda config --set always_yes yes --set changeps1 no
conda config --add channels conda-forge --force
# Useful for debugging any issues with conda
conda info -a
conda_pkgs="qt cmake opencv doxygen cimg"
conda create -q -p $our_install_dir ${conda_pkgs}
# Since this script is getting sourced, remove error on exit
set +e
set +x
source activate $our_install_dir
cd $SOURCE_DIR;

View File

@ -1,11 +0,0 @@
#!/usr/bin/env bash
# Exit on error
set -e
# Echo each command
set -x
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX ..
cmake --build . --target install