Skip to content
Snippets Groups Projects
Verified Commit e0197d9f authored by Justin Carpentier's avatar Justin Carpentier
Browse files

ci: remove travis

parent a8865898
No related branches found
No related tags found
No related merge requests found
Pipeline #15618 passed with warnings
[submodule "cmake"]
path = cmake
url = https://github.com/jrl-umi3218/jrl-cmakemodules.git
[submodule ".travis"]
path = .travis
url = https://github.com/jrl-umi3218/jrl-travis.git
Subproject commit 0f12f18e62a504278ef31f0118f1da48607a524e
language: cpp
git:
depth: false
compiler:
- gcc
# - clang
env:
global:
- secure: "SnIBG/xLIHX3CSvUbqqsX8xTVqIqQ7fFS6HWO6KZQVBsT6yugTwYHbyhNiU531JejYJ/I3ZrDhXfYH3qFZiYxnH1sifvwV+fnTtMXpPN7qPZwIymkjcmm6gJF51e0C7VOfUbvKFv0ngwj+ul21rgZSMuoEvxPK0WxtE3/ZSfn9c="
- APT_DEPENDENCIES="doxygen libeigen3-dev libboost-test-dev libboost-python-dev python-numpy"
- DEBSIGN_KEYID=5AE5CD75
- CC=gcc
- DO_COVERAGE_ON_BRANCH="master;release"
- DO_CPPCHECK_ON_BRANCH=""
- DO_INSTALL_DOC_EXCEPT_ON_BRANCH=""
- MAKEFLAGS="-j2"
jobs:
include:
- dist: bionic
env:
- BUILDTYPE=Release
- TRAVIS_PYTHON_VERSION=27
python: 2.7
- dist: bionic
env:
- BUILDTYPE=Release
- TRAVIS_PYTHON_VERSION=36
python: 3.6
- dist: bionic
env:
- BUILDTYPE=Debug
- TRAVIS_PYTHON_VERSION=27
python: 2.7
- dist: bionic
env:
- BUILDTYPE=Debug
- TRAVIS_PYTHON_VERSION=36
python: 3.6
- dist: xenial
env:
- BUILDTYPE=Release
- TRAVIS_PYTHON_VERSION=27
python: 2.7
- dist: xenial
env:
- BUILDTYPE=Release
- TRAVIS_PYTHON_VERSION=35
python: 3.5
notifications:
email:
- pinocchio-build@laas.fr
branches:
only:
- master
- debian
- devel
before_install: ./travis_custom/custom_before_install
install: pip install coveralls numpy --user
script:
- export CMAKE_ADDITIONAL_OPTIONS="-DCMAKE_BUILD_TYPE=${BUILDTYPE}"
- ./.travis/run ../travis_custom/custom_build
- export PYTHON_DEFAULT_VERSION=$(which python2)
- if [[ $TRAVIS_PYTHON_VERSION -gt 30 ]]; then export PYTHON_DEFAULT_VERSION=$(which python3); fi
- export CMAKE_PREFIX_PATH=/tmp/_ci/install
- cd $TRAVIS_BUILD_DIR/unittest/packaging/cmake
- mkdir build
- cd build
- cmake .. -DPYTHON_EXECUTABLE=$PYTHON_DEFAULT_VERSION
- make
- ./extra_lib
- cd $TRAVIS_BUILD_DIR/unittest/packaging/cmake-2x
- mkdir build
- cd build
- cmake .. -DPYTHON_EXECUTABLE=$PYTHON_DEFAULT_VERSION
- make
- ./extra_lib
- cd $TRAVIS_BUILD_DIR/unittest/packaging/pkgconfig
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/tmp/_ci/install/lib
- export PKG_CONFIG_PATH=/tmp/_ci/install/lib/pkgconfig:$PKG_CONFIG_PATH
- mkdir build
- cd build
- cmake .. -DPYTHON_EXECUTABLE=$PYTHON_DEFAULT_VERSION
- make
- ./extra_lib
- cd /tmp/_ci/build
- make uninstall
after_failure: ./.travis/run after_failure
after_success: ./.travis/run after_success
#!/bin/bash
# Add Python dependency
echo "TRAVIS_PYTHON_VERSION=$TRAVIS_PYTHON_VERSION"
if [[ $TRAVIS_PYTHON_VERSION -gt 30 ]]; then
export APT_DEPENDENCIES=$APT_DEPENDENCIES" python3-numpy"
fi
# When this script is called the current directory is ./custom_travis
. ./.travis/run ../.travis/before_install
# Git fetch tags
git fetch --tags
#!/bin/bash
set -e
# Setup environment variables.
export CMAKE_ADDITIONAL_OPTIONS=" ${CMAKE_ADDITIONAL_OPTIONS} -DBUILD_BENCHMARK=\"ON\" -DBUILD_TESTING=\"ON\" -DCMAKE_CXX_FLAGS=-DBOOST_SYSTEM_NO_DEPRECATED"
if [[ ";${DO_INSTALL_DOC_EXCEPT_ON_BRANCH};" == *";${CI_BRANCH};"* ]]; then
export CMAKE_ADDITIONAL_OPTIONS=" ${CMAKE_ADDITIONAL_OPTIONS} -DINSTALL_DOCUMENTATION=\"OFF\""
else
export CMAKE_ADDITIONAL_OPTIONS=" ${CMAKE_ADDITIONAL_OPTIONS} -DINSTALL_DOCUMENTATION=\"ON\""
fi
if [[ $TRAVIS_PYTHON_VERSION -gt 30 ]]; then
export CMAKE_ADDITIONAL_OPTIONS=" ${CMAKE_ADDITIONAL_OPTIONS} -DPYTHON_EXECUTABLE=$(which python3)"
fi
# Setup environment variables.
. ./.travis/run ../.travis/build
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment