Skip to content

Commit

Permalink
try with cxx compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
darioizzo committed Apr 16, 2020
1 parent 86b7214 commit 3df49e1
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 79 deletions.
149 changes: 74 additions & 75 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,83 +9,82 @@ env:

matrix:
include:
- env: PAGMO_PLUGINS_NONFREE_BUILD="manylinux64Py38" DOCKER_IMAGE="pagmo2/manylinux2010_x86_64_with_deps"
sudo: required
services:
- docker
- env: PAGMO_PLUGINS_NONFREE_BUILD="manylinux64Py37" DOCKER_IMAGE="pagmo2/manylinux2010_x86_64_with_deps"
sudo: required
services:
- docker
- env: PAGMO_PLUGINS_NONFREE_BUILD="manylinux64Py36" DOCKER_IMAGE="pagmo2/manylinux2010_x86_64_with_deps"
sudo: required
services:
- docker
- env: PAGMO_PLUGINS_NONFREE_BUILD="DebugGCC"
dist: bionic
compiler: gcc
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- binutils-gold
- env: PAGMO_PLUGINS_NONFREE_BUILD="ReleaseGCC"
dist: bionic
compiler: gcc
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- binutils-gold
- env: PAGMO_PLUGINS_NONFREE_BUILD="CoverageGCC"
dist: bionic
compiler: gcc
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- binutils-gold
- env: PAGMO_PLUGINS_NONFREE_BUILD="ReleaseClang"
dist: bionic
compiler: clang
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- clang-7
- env: PAGMO_PLUGINS_NONFREE_BUILD="DebugClang"
dist: bionic
compiler: clang
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- clang-7
- env: PAGMO_PLUGINS_NONFREE_BUILD="Python37"
dist: bionic
compiler: gcc
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- env: PAGMO_PLUGINS_NONFREE_BUILD="OSXDebug"
os: osx
- env: PAGMO_PLUGINS_NONFREE_BUILD="OSXRelease"
os: osx
#- env: PAGMO_PLUGINS_NONFREE_BUILD="manylinux64Py38" DOCKER_IMAGE="pagmo2/manylinux2010_x86_64_with_deps"
# sudo: required
# services:
# - docker
#- env: PAGMO_PLUGINS_NONFREE_BUILD="manylinux64Py37" DOCKER_IMAGE="pagmo2/manylinux2010_x86_64_with_deps"
# sudo: required
# services:
# - docker
#- env: PAGMO_PLUGINS_NONFREE_BUILD="manylinux64Py36" DOCKER_IMAGE="pagmo2/manylinux2010_x86_64_with_deps"
# sudo: required
# services:
# - docker
#- env: PAGMO_PLUGINS_NONFREE_BUILD="DebugGCC"
# dist: bionic
# compiler: gcc
# os: linux
# addons:
# apt:
# sources:
# - ubuntu-toolchain-r-test
# packages:
# - binutils-gold
#- env: PAGMO_PLUGINS_NONFREE_BUILD="ReleaseGCC"
# dist: bionic
# compiler: gcc
# os: linux
# addons:
# apt:
# sources:
# - ubuntu-toolchain-r-test
# packages:
# - binutils-gold
#- env: PAGMO_PLUGINS_NONFREE_BUILD="CoverageGCC"
# dist: bionic
# compiler: gcc
# os: linux
# addons:
# apt:
# sources:
# - ubuntu-toolchain-r-test
# packages:
# - binutils-gold
#- env: PAGMO_PLUGINS_NONFREE_BUILD="ReleaseClang"
# dist: bionic
# compiler: clang
# os: linux
# addons:
# apt:
# sources:
# - ubuntu-toolchain-r-test
# packages:
# - clang-7
#- env: PAGMO_PLUGINS_NONFREE_BUILD="DebugClang"
# dist: bionic
# compiler: clang
# os: linux
# addons:
# apt:
# sources:
# - ubuntu-toolchain-r-test
# packages:
# - clang-7
#- env: PAGMO_PLUGINS_NONFREE_BUILD="Python37"
# dist: bionic
# compiler: gcc
# os: linux
# addons:
# apt:
# sources:
# - ubuntu-toolchain-r-test
#- env: PAGMO_PLUGINS_NONFREE_BUILD="OSXDebug"
# os: osx
#- env: PAGMO_PLUGINS_NONFREE_BUILD="OSXRelease"
# os: osx
- env: PAGMO_PLUGINS_NONFREE_BUILD="OSXPython37"
os: osx
osx_image: xcode6.4
script:
- mkdir build
- cd build
Expand Down
8 changes: 4 additions & 4 deletions tools/install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ if [[ "${PAGMO_PLUGINS_NONFREE_BUILD}" != manylinux* ]]; then
conda config --add channels conda-forge --force

# All builds will need these
conda_pkgs="boost>=1.56 cmake>=3.2 pagmo-devel>=2.0"
conda_pkgs="boost>=1.56 cmake>=3.2 pagmo-devel>=2.0 cxx-compiler"

# Only Python builds will need these
if [[ "${PAGMO_PLUGINS_NONFREE_BUILD}" == "Python37" || "${PAGMO_PLUGINS_NONFREE_BUILD}" == "OSXPython37" ]]; then
conda_pkgs="$conda_pkgs python=3.7 pygmo>=2.0 pybind11"
fi

if [[ "${PAGMO_PLUGINS_NONFREE_BUILD}" == OSX* ]]; then
conda_pkgs="$conda_pkgs clangdev<10"
fi
#if [[ "${PAGMO_PLUGINS_NONFREE_BUILD}" == OSX* ]]; then
# conda_pkgs="$conda_pkgs clangdev<10"
#fi

if [[ "${PAGMO_PLUGINS_NONFREE_BUILD}" == Python* ]]; then
conda_pkgs="$conda_pkgs graphviz doxygen sphinx breathe"
Expand Down

0 comments on commit 3df49e1

Please sign in to comment.