-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Travis CI builds #524
Merged
Merged
Fix Travis CI builds #524
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
18c4a1d
Update CMakeLists.txt
egordon 71abb40
Updated Travis to Xenial to get newer version of DART
egordon 4416893
Removed 6.6.2 deprecation
egordon f0da6ea
Keep current behavior
egordon f684c2c
Updated CHANGELOG
egordon c1f4a92
Revert to original behavior (per @jslee02)
egordon c5e5e3b
Update src/constraint/dart/InverseKinematicsSampleable.cpp
aditya-vk 7301020
Fix multiple CI issues (#527)
jslee02 59530ba
Remove use of deprecated dart::common::make_unique (#532)
jslee02 826047d
Merge duplicated if-blocks
jslee02 3cb8bbe
Install more DART dependencies
jslee02 4e6d257
Change to `make test` rather than `ctest`
jslee02 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM ubuntu:disco | ||
|
||
# Workaround to suppress "Warning: apt-key output should not be parsed (stdout is not a terminal)" | ||
ENV APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 | ||
|
||
RUN apt-get update -qq | ||
|
||
# To run dpkg without interactive dialogue | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN apt-get install -y \ | ||
build-essential \ | ||
cmake \ | ||
curl \ | ||
git \ | ||
lsb-release \ | ||
pkg-config \ | ||
python \ | ||
software-properties-common \ | ||
sudo \ | ||
tzdata |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM ubuntu:trusty | ||
|
||
RUN apt-get update -qq | ||
RUN apt-get install -y \ | ||
build-essential \ | ||
cmake \ | ||
curl \ | ||
git \ | ||
lsb-release \ | ||
pkg-config \ | ||
python \ | ||
software-properties-common \ | ||
sudo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -ex | ||
|
||
$SUDO apt-get -qq update | ||
$SUDO apt-get -y install lsb-release software-properties-common | ||
if [ $(lsb_release -sc) = "trusty" ]; then | ||
$SUDO apt-add-repository -y ppa:libccd-debs/ppa | ||
$SUDO apt-add-repository -y ppa:fcl-debs/ppa | ||
fi | ||
$SUDO apt-add-repository -y ppa:dartsim/ppa | ||
$SUDO apt-get -qq update | ||
|
||
# Build tools | ||
$SUDO apt-get -y install \ | ||
sudo \ | ||
build-essential \ | ||
cmake \ | ||
pkg-config \ | ||
curl \ | ||
git | ||
if [ $COMPILER = clang ]; then | ||
$SUDO apt-get -qq -y install clang | ||
fi | ||
|
||
# Required dependencies | ||
$SUDO apt-get -y install \ | ||
libboost-filesystem-dev \ | ||
libdart6-all-dev \ | ||
libompl-dev | ||
|
||
# Optional dependencies | ||
$SUDO apt-get -y install \ | ||
libtinyxml2-dev \ | ||
libyaml-cpp-dev | ||
|
||
if [ "$BUILD_AIKIDOPY" = "ON" ]; then | ||
$SUDO apt-get -y install python3-dev python3-numpy | ||
$SUDO apt-get -y install python3-pip -y | ||
$SUDO pip3 install pytest -U | ||
|
||
if [ $(lsb_release -sc) = "trusty" ] || [ $(lsb_release -sc) = "xenial" ] || [ $(lsb_release -sc) = "bionic" ]; then | ||
git clone https://github.com/pybind/pybind11 -b 'v2.3.0' --single-branch --depth 1 | ||
cd pybind11 | ||
mkdir build | ||
cd build | ||
cmake .. -DCMAKE_BUILD_TYPE=Release -DPYBIND11_TEST=OFF | ||
make -j4 | ||
$SUDO make install | ||
cd ../.. | ||
elif [ $(lsb_release -sc) = "cosmic" ] || [ $(lsb_release -sc) = "disco" ]; then | ||
$SUDO apt-get -y install pybind11-dev python3 libpython3-dev python3-pytest \ | ||
python3-distutils | ||
else | ||
echo -e "$(lsb_release -sc) is not supported." | ||
exit 1 | ||
fi | ||
fi | ||
|
||
if [ $BUILD_DOCS = "ON" ]; then | ||
$SUDO apt-get -qq -y install doxygen | ||
fi | ||
|
||
if [ $BUILD_NAME = TRUSTY_FULL_DEBUG ]; then | ||
sudo apt-get install -y clang-format-3.8 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,26 @@ | ||
brew 'boost' | ||
brew 'dartsim' | ||
brew 'eigen' | ||
brew 'libmicrohttpd' | ||
brew 'ompl' | ||
brew 'tinyxml2' | ||
brew 'yaml-cpp' | ||
|
||
# Install dartsim dependencies explicitly because, for some unknown reasons, | ||
# Travis CI + Homebrew fails to find the dartsim dependencies. | ||
brew 'assimp' | ||
brew 'boost' | ||
brew 'bullet' | ||
brew 'console_bridge' | ||
brew 'eigen' | ||
brew 'fcl' | ||
brew 'flann' | ||
brew 'ipopt' | ||
brew 'libccd' | ||
brew 'nlopt' | ||
brew 'octomap' | ||
brew 'ode' | ||
brew 'open-scene-graph' | ||
brew 'tinyxml2' | ||
brew 'urdfdom' | ||
brew 'urdfdom_headers' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#ifndef AIKIDO_COMMON_DETAIL_MEMORY_IMPL_HPP_ | ||
#define AIKIDO_COMMON_DETAIL_MEMORY_IMPL_HPP_ | ||
|
||
#include "aikido/common/memory.hpp" | ||
|
||
namespace aikido { | ||
namespace common { | ||
|
||
//============================================================================== | ||
template<typename T, typename... Args> | ||
::std::unique_ptr<T> make_unique(Args&&... args) | ||
{ | ||
#if __cplusplus < 201300 | ||
return ::std::unique_ptr<T>(new T(::std::forward<Args>(args)...)); | ||
#else | ||
return ::std::make_unique<T>(::std::forward<Args>(args)...); | ||
#endif | ||
} | ||
|
||
} // namespace common | ||
} // namespace aikido | ||
|
||
#endif // AIKIDO_COMMON_DETAIL_MEMORY_IMPL_HPP_ |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Xenial build still has an issue: #363
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Double-check that this is still an issue in CI, since I believe in the launch scripts I forced it to pull OMPL 1.0 rather than 1.2 to get around this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like it's still failing? https://travis-ci.org/personalrobotics/aikido/jobs/559769715